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
This commit is contained in:
parent
e0ce22551b
commit
31b83dd2e8
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# Copyright (c) 2017 Red Hat
|
||||
#
|
||||
# This module is free software: you can redistribute it and/or modify
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||
# Copyright 2013 OpenStack Foundation
|
||||
#
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||
# Copyright 2013 OpenStack Foundation
|
||||
#
|
||||
@ -735,7 +734,3 @@ class Client(zuul.cmd.ZuulApp):
|
||||
|
||||
def main():
|
||||
Client().main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||
# Copyright 2013-2014 OpenStack Foundation
|
||||
#
|
||||
@ -120,7 +119,3 @@ class Executor(zuul.cmd.ZuulDaemonApp):
|
||||
|
||||
def main():
|
||||
Executor().main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2019 BMW Group
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
@ -96,7 +95,3 @@ class ManageAnsible(zuul.cmd.ZuulApp):
|
||||
|
||||
def main():
|
||||
ManageAnsible().main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
@ -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()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2012 Hewlett-Packard Development Company, L.P.
|
||||
# Copyright 2013 OpenStack Foundation
|
||||
#
|
||||
@ -196,7 +195,3 @@ class Scheduler(zuul.cmd.ZuulDaemonApp):
|
||||
|
||||
def main():
|
||||
Scheduler().main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
@ -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()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (C) 2020 Red Hat, Inc
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# Copyright (c) 2017 Red Hat
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -1271,16 +1270,3 @@ class ZuulWeb(object):
|
||||
return
|
||||
self.repl.stop()
|
||||
self.repl = None
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
import zuul.lib.connections
|
||||
import zuul.lib.auth.authenticators
|
||||
connections = zuul.lib.connections.ConnectionRegistry()
|
||||
auths = zuul.lib.auth.authenticators.AuthenticatorRegistry()
|
||||
z = ZuulWeb(listen_address="127.0.0.1", listen_port=9000,
|
||||
gear_server="127.0.0.1", gear_port=4730,
|
||||
connections=connections, authenticators=auths)
|
||||
z.start()
|
||||
cherrypy.engine.block()
|
||||
|
Loading…
Reference in New Issue
Block a user