requestsync: Use '~' as the Ubuntu version for new packages (it's lower

than '0~0').
This commit is contained in:
Michael Bienia 2010-01-06 01:30:40 +01:00
parent c0c9b6d518
commit 5bd544b63c

View File

@ -120,7 +120,7 @@ if __name__ == '__main__':
newsource = False # override the -n flag newsource = False # override the -n flag
except udtexceptions.PackageNotFoundException: except udtexceptions.PackageNotFoundException:
ubuntu_srcpkg = None ubuntu_srcpkg = None
ubuntu_version = Version('0~0') ubuntu_version = Version('~')
ubuntu_component = 'universe' # let's assume universe ubuntu_component = 'universe' # let's assume universe
if not newsource: if not newsource:
print "'%s' doesn't exist in 'Ubuntu %s'.\nDo you want to sync a new package?" % \ print "'%s' doesn't exist in 'Ubuntu %s'.\nDo you want to sync a new package?" % \