From 337917c4d986ef230aa28e17c021ab16e7c0176a Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Sun, 27 May 2012 00:46:24 +0200 Subject: [PATCH] Break long lines into two commands. --- check-mir | 8 ++++---- submittodebian | 6 +++--- ubuntu-iso | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/check-mir b/check-mir index 2d707db..0bc8efa 100755 --- a/check-mir +++ b/check-mir @@ -121,10 +121,10 @@ def check_binary_dependencies(apt_cache, control): return any_unsupported def main(): - parser = optparse.OptionParser( - description="Check if any of a package's build or binary " - "dependencies are in universe or multiverse. " - "Run this inside an unpacked source package") + description = "Check if any of a package's build or binary " + \ + "dependencies are in universe or multiverse. " + \ + "Run this inside an unpacked source package" + parser = optparse.OptionParser(description=description) parser.parse_args() apt_cache = apt.Cache() diff --git a/submittodebian b/submittodebian index 0656812..3fb482f 100755 --- a/submittodebian +++ b/submittodebian @@ -198,9 +198,9 @@ 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.') + description = 'Submit the Ubuntu changes in a package to Debian. ' + \ + 'Run inside an unpacked Ubuntu source package.' + parser = optparse.OptionParser(description=description) parser.parse_args() if not os.path.exists('/usr/bin/reportbug'): diff --git a/ubuntu-iso b/ubuntu-iso index 04a2e30..f184cee 100755 --- a/ubuntu-iso +++ b/ubuntu-iso @@ -38,9 +38,9 @@ def extract(iso, path): return stdout def main(): + desc = 'Given an ISO, %prog will display the Ubuntu version information' parser = optparse.OptionParser(usage='%prog [options] iso...', - description='Given an ISO, %prog will display the Ubuntu version ' - 'information') + description=desc) isos = parser.parse_args()[1] err = False