mirror of
				https://git.launchpad.net/ubuntu-dev-tools
				synced 2025-11-04 07:54:03 +00:00 
			
		
		
		
	Make syncpackage print a warning when --no-lp is used
This commit is contained in:
		
							parent
							
								
									73f2273d71
								
							
						
					
					
						commit
						8178324266
					
				@ -634,6 +634,12 @@ def main():
 | 
			
		||||
        ubuntu = Launchpad.distributions["ubuntu"]
 | 
			
		||||
        options.release = ubuntu.current_series.name
 | 
			
		||||
 | 
			
		||||
    if not options.fakesync and not options.lp:
 | 
			
		||||
        Logger.warn("The use of --no-lp is not recommended for uploads "
 | 
			
		||||
                    "targeted at Ubuntu. "
 | 
			
		||||
                    "The archive-admins discourage its use, except for "
 | 
			
		||||
                    "fakesyncs.")
 | 
			
		||||
 | 
			
		||||
    sponsoree = None
 | 
			
		||||
    if options.sponsoree:
 | 
			
		||||
        try:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user