mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-12 02:41:07 +00:00
syncpackage: don't login to LP if using --simulate
No need to login to LP if no real action is being taken.
This commit is contained in:
parent
f25f815bef
commit
c2ea95c067
@ -614,7 +614,7 @@ def main():
|
||||
# devel for copyPackage and changelogUrl
|
||||
kwargs = {'service': options.lpinstance,
|
||||
'api_version': 'devel'}
|
||||
if options.lp:
|
||||
if options.lp and not options.simulate:
|
||||
Launchpad.login(**kwargs)
|
||||
else:
|
||||
Launchpad.login_anonymously(**kwargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user