mirror of
				https://git.launchpad.net/ubuntu-dev-tools
				synced 2025-11-04 07:54:03 +00:00 
			
		
		
		
	Break long lines into two commands.
This commit is contained in:
		
							parent
							
								
									93fbe4c71c
								
							
						
					
					
						commit
						337917c4d9
					
				@ -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()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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'):
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user