abandon_stale: fix style warnings from flake8

Change-Id: I7d12bc2e9edc0fbbbb7e0aea61b4c7118d99fb2d
This commit is contained in:
David Pursehouse 2017-10-22 15:08:50 +09:00
parent 4e0011e3fc
commit 9a8851bfbc
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,7 @@ def _main():
try:
gerrit.post("/changes/" + change_id + "/abandon",
json={"message" : "%s" % abandon_message})
json={"message": "%s" % abandon_message})
abandoned += 1
except Exception as e:
errors += 1
@ -209,5 +209,6 @@ def _main():
if not options.dry_run:
logging.info("Abandoned %d changes. %d errors.", abandoned, errors)
if __name__ == "__main__":
sys.exit(_main())