mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 14:21:07 +00:00
submittodebian: Use optparse to display --help (LP: #988009)
This commit is contained in:
parent
b8a2ca9e5a
commit
083d44f676
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ ubuntu-dev-tools (0.142) UNRELEASED; urgency=low
|
||||
* mk-sbuild: Support kmod, when checking for overlayfs availability.
|
||||
* pbuilder-dist: improve bash_completion for *.dsc files. Thanks Maarten
|
||||
Bezemer. (Closes: #670924, LP: #770529)
|
||||
* submittodebian: Use optparse to display --help (LP: #988009)
|
||||
|
||||
-- Stefano Rivera <stefanor@debian.org> Wed, 25 Apr 2012 17:38:58 +0200
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#
|
||||
# ##################################################################
|
||||
|
||||
import optparse
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
@ -190,6 +191,10 @@ reportbug --configure for its configuration wizard.
|
||||
sys.exit(1)
|
||||
|
||||
def main():
|
||||
parser = optparse.OptionParser(
|
||||
description='Submit the Ubuntu changes in a package to Debian. '
|
||||
'Run inside an unpacked Ubuntu source package.')
|
||||
parser.parse_args()
|
||||
check_reportbug_config()
|
||||
changelog_file = (check_file('debian/changelog', critical = False) or
|
||||
check_file('../debian/changelog'))
|
||||
|
@ -30,7 +30,6 @@ BLACKLIST = {
|
||||
'grep-merges': 'No Help',
|
||||
'pbuilder-dist-simple': 'No Help',
|
||||
'setup-packaging-environment': 'Throws Error',
|
||||
'submittodebian': 'No Help',
|
||||
'ubuntu-iso': 'No Help',
|
||||
}
|
||||
TIMEOUT = 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user