summaryrefslogtreecommitdiff
path: root/zuul/cmd/web.py
diff options
context:
space:
mode:
authorFabien Boucher <fboucher@redhat.com>2020-05-18 18:49:27 +0200
committerFabien Boucher <fboucher@redhat.com>2020-05-18 19:10:33 +0200
commit31b83dd2e8ae808d65a0b5a8672dd244d3ce9a0e (patch)
tree4cc2017ca141c36300063a825c70047929ace62c /zuul/cmd/web.py
parente0ce22551b901a096c5fea18f5f3053e14f4f96c (diff)
downloadzuul-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/web.py')
-rwxr-xr-xzuul/cmd/web.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/zuul/cmd/web.py b/zuul/cmd/web.py
index fe4b2ca4f..82274fd50 100755
--- a/zuul/cmd/web.py
+++ b/zuul/cmd/web.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Copyright 2017 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -134,7 +133,3 @@ class WebServer(zuul.cmd.ZuulDaemonApp):
def main():
WebServer().main()
-
-
-if __name__ == "__main__":
- main()