diff options
author | Fabien Boucher <fboucher@redhat.com> | 2020-05-18 18:49:27 +0200 |
---|---|---|
committer | Fabien Boucher <fboucher@redhat.com> | 2020-05-18 19:10:33 +0200 |
commit | 31b83dd2e8ae808d65a0b5a8672dd244d3ce9a0e (patch) | |
tree | 4cc2017ca141c36300063a825c70047929ace62c /zuul/cmd/migrate.py | |
parent | e0ce22551b901a096c5fea18f5f3053e14f4f96c (diff) | |
download | zuul-31b83dd2e8ae808d65a0b5a8672dd244d3ce9a0e.tar.gz |
Remove ununecessary shebangs
The commands are managed as entry-points so remove
ununecessary shebangs. Also lib/re2util.py does not
require a shebang as well.
zuul_return.py does not have a main and is not supposed
to be run directly.
Ununecessary shebangs for non executable script causes
rpmlint issues.
Change-Id: I6015daaa0fe35b6935fcbffca1907c01c9a26134
Diffstat (limited to 'zuul/cmd/migrate.py')
-rw-r--r-- | zuul/cmd/migrate.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/zuul/cmd/migrate.py b/zuul/cmd/migrate.py index c132a8caa..7fe1d12a9 100644 --- a/zuul/cmd/migrate.py +++ b/zuul/cmd/migrate.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright 2017 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -1744,7 +1742,3 @@ def main(): ZuulMigrate(args.layout, args.job_config, args.nodepool_config, args.outdir, args.mapping, args.syntax_check).run() - - -if __name__ == '__main__': - main() |