Port backportpackage to Python 3.

This commit is contained in:
Stefano Rivera 2019-09-04 12:51:31 -03:00
parent 23c7d67425
commit 7f9949fc4c
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# ################################################################## # ##################################################################
# #

2
debian/control vendored
View File

@ -64,6 +64,8 @@ Depends:
python-ubuntutools, python-ubuntutools,
python3, python3,
python3-distro-info, python3-distro-info,
python3-httplib2,
python3-launchpadlib,
python3-ubuntutools, python3-ubuntutools,
sensible-utils, sensible-utils,
sudo, sudo,

View File

@ -17,6 +17,7 @@ if os.path.exists(changelog):
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
scripts = [ scripts = [
'backportpackage',
'check-symbols', 'check-symbols',
'dch-repeat', 'dch-repeat',
'grab-merge', 'grab-merge',
@ -34,7 +35,6 @@ if sys.version_info[0] >= 3:
] ]
else: else:
scripts = [ scripts = [
'backportpackage',
'bitesize', 'bitesize',
'check-mir', 'check-mir',
'grep-merges', 'grep-merges',