diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-11-15 13:14:23 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-11-15 13:15:42 +0100 |
commit | 6f75d7c4f0f3719ab7b664cfc96b50bc44140a32 (patch) | |
tree | d0ad8bf5be0b51bbb26a28bc64a3124648c6cf05 /examples | |
parent | acf7a739d5f5b875bc3f02c3fe9148c4f8a6261b (diff) |
Fix new flake8 errors
E305 expected 2 blank lines after class or function definition
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gbp-posttag-push | 1 | ||||
-rwxr-xr-x | examples/zeitgeist-git.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push index 549df1d0..076fe63e 100755 --- a/examples/gbp-posttag-push +++ b/examples/gbp-posttag-push @@ -146,6 +146,7 @@ def main(argv): repo.push(dest, upstream_sha1, options.upstream_branch) print("done.") + if __name__ == '__main__': sys.exit(main(sys.argv)) diff --git a/examples/zeitgeist-git.py b/examples/zeitgeist-git.py index 8e04a18f..a2655e70 100755 --- a/examples/zeitgeist-git.py +++ b/examples/zeitgeist-git.py @@ -99,5 +99,6 @@ def main(argv): subjects=[subject]) CLIENT.insert_event(event) + if __name__ == '__main__': main(sys.argv) |