Skip to content

Commit

Permalink
[ubuntu] Fix missing return in ubuntu policy
Browse files Browse the repository at this point in the history
Ubuntu policy is missing a `return`  in `get_upload_url()` method that
causes the upload to be implictly disabled when `--upload-url` is
specified.

Closes: #3183
Signed-off-by: Chi Wai, Chan <chiwai.chan@canonical.com>
  • Loading branch information
chanchiwai-ray committed Apr 7, 2023
1 parent 407e25d commit dbdbc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sos/policies/distros/ubuntu.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def get_upload_url(self):
return self._upload_url
fname = os.path.basename(self.upload_archive_name)
return self._upload_url + fname
super(UbuntuPolicy, self).get_upload_url()
return super(UbuntuPolicy, self).get_upload_url()

# vim: set et ts=4 sw=4 :

0 comments on commit dbdbc9c

Please sign in to comment.