Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Also publish empty repositories
fixes #4924
https://pulp.plan.io/issues/4345

(cherry picked from commit 9f70614)
  • Loading branch information
quba42 authored and evgeni committed Feb 24, 2020
1 parent 859c0b8 commit 67832e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugins/pulp_deb/plugins/distributors/distributor.py
Expand Up @@ -290,10 +290,6 @@ def process_main(self, item=None):
config = self.get_config()
base_path = self.get_working_dir()

# Do nothing, if the repository is empty (review this behaviour):
if len(unit_dict) == 0:
return

# If there are no release_units (old style repo) publish as 'stable/main':
if len(release_units) == 0:
default_release = models.DebRelease(
Expand Down

0 comments on commit 67832e8

Please sign in to comment.