mirror of
				https://git.launchpad.net/ubuntu-dev-tools
				synced 2025-11-03 23:44:19 +00:00 
			
		
		
		
	Include BTS URL, as launchpad links 'bug XYZ' to LP: #XYZ
This commit is contained in:
		
							parent
							
								
									9c916053b1
								
							
						
					
					
						commit
						ec5abfe6f2
					
				@ -109,8 +109,9 @@ def main():
 | 
			
		||||
        summary = log[0][0]
 | 
			
		||||
        target = ubuntu.getSourcePackage(name=ubupackage)
 | 
			
		||||
        u_bug = launchpad.bugs.createBug(target=target, title=subject,
 | 
			
		||||
                description="Imported from Debian bug %d:\n\n%s"
 | 
			
		||||
                    % (bug_num, summary))
 | 
			
		||||
                description='Imported from Debian bug '
 | 
			
		||||
                            'http://bugs.debian.org/%d:\n\n%s'
 | 
			
		||||
                            % (bug_num, summary))
 | 
			
		||||
        d_sp = debian.getSourcePackage(name=package)
 | 
			
		||||
        if d_sp is None and options.package:
 | 
			
		||||
            d_sp = debian.getSourcePackage(name=options.package)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user