fake syncs require --no-lp

This commit is contained in:
Colin Watson 2011-08-17 17:10:09 +01:00
parent 1d68d8064c
commit 189bfa238a

View File

@ -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: