mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-18 13:51:08 +00:00
backportpackage: Allow for -S ""
This commit is contained in:
parent
cbe6726eb3
commit
21355cbf52
@ -185,7 +185,7 @@ def fetch_package(lp, workdir, package, version, source_release):
|
||||
|
||||
def get_backport_version(version, suffix, upload, release):
|
||||
v = version + ('~%s1' % release)
|
||||
if suffix:
|
||||
if suffix is not None:
|
||||
v += suffix
|
||||
elif upload and upload.startswith('ppa:'):
|
||||
v += '~ppa1'
|
||||
|
Loading…
x
Reference in New Issue
Block a user