abandon_stale: fix style warnings from flake8
Change-Id: I7d12bc2e9edc0fbbbb7e0aea61b4c7118d99fb2d
This commit is contained in:
parent
4e0011e3fc
commit
9a8851bfbc
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user