mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-18 05:41:08 +00:00
Port sponsor-patch to Python 3
This commit is contained in:
parent
673234e449
commit
76609fde49
2
setup.py
2
setup.py
@ -39,6 +39,7 @@ if sys.version_info[0] >= 3:
|
||||
'reverse-depends',
|
||||
'seeded-in-ubuntu',
|
||||
'setup-packaging-environment',
|
||||
'sponsor-patch',
|
||||
]
|
||||
data_files = [
|
||||
('share/bash-completion/completions', glob.glob("bash_completion/*")),
|
||||
@ -50,7 +51,6 @@ else:
|
||||
scripts = [
|
||||
'import-bug-from-debian',
|
||||
'merge-changelog',
|
||||
'sponsor-patch',
|
||||
'submittodebian',
|
||||
'syncpackage',
|
||||
'ubuntu-build',
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# Copyright (C) 2010-2011, Benjamin Drung <bdrung@ubuntu.com>
|
||||
#
|
||||
@ -123,7 +123,7 @@ def main():
|
||||
options.keyid, options.lpinstance, options.update,
|
||||
options.upload, workdir)
|
||||
except KeyboardInterrupt:
|
||||
print "\nUser abort."
|
||||
print("\nUser abort.")
|
||||
sys.exit(2)
|
||||
finally:
|
||||
if options.workdir is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user