mirror of
				https://git.launchpad.net/ubuntu-dev-tools
				synced 2025-11-03 23:44:19 +00:00 
			
		
		
		
	fake syncs require --no-lp
This commit is contained in:
		
							parent
							
								
									1d68d8064c
								
							
						
					
					
						commit
						189bfa238a
					
				@ -368,7 +368,8 @@ def copy(src_pkg, debian_dist, release, simulate=False, force=False):
 | 
				
			|||||||
                if (size != ubuntu_checksums[name][0] or
 | 
					                if (size != ubuntu_checksums[name][0] or
 | 
				
			||||||
                    checksum != ubuntu_checksums[name][1]):
 | 
					                    checksum != ubuntu_checksums[name][1]):
 | 
				
			||||||
                    Logger.error('The checksums of the Debian and Ubuntu '
 | 
					                    Logger.error('The checksums of the Debian and Ubuntu '
 | 
				
			||||||
                                 'packages mismatch. A fake sync is required.')
 | 
					                                 'packages mismatch. A fake sync using '
 | 
				
			||||||
 | 
					                                 '--no-lp is required.')
 | 
				
			||||||
                    sys.exit(1)
 | 
					                    sys.exit(1)
 | 
				
			||||||
            break # one checksum is good enough
 | 
					            break # one checksum is good enough
 | 
				
			||||||
    except udtexceptions.PackageNotFoundException:
 | 
					    except udtexceptions.PackageNotFoundException:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user