mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-31 12:51:07 +00:00
drop unused argument
This commit is contained in:
parent
38ade0ea7d
commit
f40db6836e
@ -309,7 +309,7 @@ def fetch_source_pkg(package, dist, version, component, ubuntu_release, mirror):
|
|||||||
return DebianSourcePackage(package, version.full_version, component,
|
return DebianSourcePackage(package, version.full_version, component,
|
||||||
mirrors=mirrors)
|
mirrors=mirrors)
|
||||||
|
|
||||||
def copy(src_pkg, debian_dist, release, simulate=False, force=False):
|
def copy(src_pkg, release, simulate=False, force=False):
|
||||||
ubuntu = Distribution('ubuntu')
|
ubuntu = Distribution('ubuntu')
|
||||||
debian_archive = Distribution('debian').getArchive()
|
debian_archive = Distribution('debian').getArchive()
|
||||||
ubuntu_archive = ubuntu.getArchive()
|
ubuntu_archive = ubuntu.getArchive()
|
||||||
@ -519,8 +519,7 @@ def main():
|
|||||||
src_pkg = fetch_source_pkg(args[0], options.dist, options.debversion,
|
src_pkg = fetch_source_pkg(args[0], options.dist, options.debversion,
|
||||||
options.component, options.release, None)
|
options.component, options.release, None)
|
||||||
|
|
||||||
copy(src_pkg, options.dist, options.release, options.simulate,
|
copy(src_pkg, options.release, options.simulate, options.force)
|
||||||
options.force)
|
|
||||||
else:
|
else:
|
||||||
Launchpad.login_anonymously()
|
Launchpad.login_anonymously()
|
||||||
if options.release is None:
|
if options.release is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user