mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-20 13:21:28 +00:00
syncpackage: remove calls to no-op pull_dsc()
This commit is contained in:
parent
9be49e7b93
commit
ec36c7c792
@ -102,7 +102,6 @@ def sync_dsc(src_pkg, debian_dist, release, name, email, bugs, ubuntu_mirror,
|
|||||||
|
|
||||||
uploader = name + " <" + email + ">"
|
uploader = name + " <" + email + ">"
|
||||||
|
|
||||||
src_pkg.pull_dsc()
|
|
||||||
new_ver = Version(src_pkg.dsc["Version"])
|
new_ver = Version(src_pkg.dsc["Version"])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@ -113,7 +112,6 @@ def sync_dsc(src_pkg, debian_dist, release, name, email, bugs, ubuntu_mirror,
|
|||||||
ubu_pkg = UbuntuSourcePackage(src_pkg.source, ubuntu_ver.full_version,
|
ubu_pkg = UbuntuSourcePackage(src_pkg.source, ubuntu_ver.full_version,
|
||||||
ubuntu_source.getComponent(),
|
ubuntu_source.getComponent(),
|
||||||
mirrors=[ubuntu_mirror])
|
mirrors=[ubuntu_mirror])
|
||||||
ubu_pkg.pull_dsc()
|
|
||||||
need_orig = ubuntu_ver.upstream_version != new_ver.upstream_version
|
need_orig = ubuntu_ver.upstream_version != new_ver.upstream_version
|
||||||
except udtexceptions.PackageNotFoundException:
|
except udtexceptions.PackageNotFoundException:
|
||||||
ubuntu_ver = Version('~')
|
ubuntu_ver = Version('~')
|
||||||
@ -353,8 +351,6 @@ def copy(src_pkg, release, bugs, sponsoree=None, simulate=False, force=False):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Check whether a fakesync would be required.
|
# Check whether a fakesync would be required.
|
||||||
src_pkg.pull_dsc()
|
|
||||||
ubuntu_pkg.pull_dsc()
|
|
||||||
if not src_pkg.dsc.compare_dsc(ubuntu_pkg.dsc):
|
if not src_pkg.dsc.compare_dsc(ubuntu_pkg.dsc):
|
||||||
Logger.error('The checksums of the Debian and Ubuntu packages '
|
Logger.error('The checksums of the Debian and Ubuntu packages '
|
||||||
'mismatch. A fake sync using --fakesync is required.')
|
'mismatch. A fake sync using --fakesync is required.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user