Skip to content

Commit 59bf6b2

Browse files
committed
Removed unused code, make linter happy
1 parent a3c8bc0 commit 59bf6b2

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

pulp_deb/app/tasks/publishing.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,13 @@ def publish(
110110

111111
log.info(
112112
_(
113-
"Publishing: repository={repo}, version={ver}, simple={simple}, structured={structured}, publish_legacy_release_files={publish_legacy_release_files}"
113+
(
114+
"Publishing: repository={repo}, "
115+
"version={ver}, "
116+
"simple={simple}, "
117+
"structured={structured}, "
118+
"publish_legacy_release_files={publish_legacy_release_files}"
119+
)
114120
).format( # noqa
115121
repo=repo_version.repository.name,
116122
ver=repo_version.number,
@@ -325,13 +331,6 @@ def __init__(self, parent, component):
325331
package_index_path,
326332
)
327333

328-
release_path = os.path.join(
329-
"dists",
330-
self.parent.dists_subfolder,
331-
self.plain_component,
332-
"binary-{}".format(architecture),
333-
"Release",
334-
)
335334
if self.parent.publication.publish_legacy_release_files:
336335
self.release_file_paths[architecture] = _write_legacy_release_file(
337336
self, architecture

0 commit comments

Comments
 (0)