mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
revuput: re-add python-apt import, we will use it soon, print note about created LP Bug
This commit is contained in:
parent
6a512144ca
commit
babd1a0849
10
revuput
10
revuput
@ -31,6 +31,12 @@ except:
|
|||||||
"You need python-launchpad-bugs (>= 0.2.9) installed to use revuput."
|
"You need python-launchpad-bugs (>= 0.2.9) installed to use revuput."
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
#try:
|
||||||
|
# import apt
|
||||||
|
#except:
|
||||||
|
# print >> sys.stderr, "You need python-apt installed to use revuput."
|
||||||
|
# sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
USAGE = \
|
USAGE = \
|
||||||
"""Usage: revuput [-n] [<location>] [<debuild options>]
|
"""Usage: revuput [-n] [<location>] [<debuild options>]
|
||||||
@ -197,6 +203,10 @@ def file_bug(sourcepackage, version):
|
|||||||
summary="Please sponsor %s %s" % (sourcepackage, version),
|
summary="Please sponsor %s %s" % (sourcepackage, version),
|
||||||
description=\
|
description=\
|
||||||
"The new package will be uploaded to PPA shortly.")
|
"The new package will be uploaded to PPA shortly.")
|
||||||
|
|
||||||
|
print "Successfully filed bug %s: http://launchpad.net/bugs/%s" % \
|
||||||
|
(bug.bugnumber, bug.bugnumber)
|
||||||
|
|
||||||
return bug.bugnumber
|
return bug.bugnumber
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user