Remove uneeded shebang and exec bit on some files

Having python files with exec bit and shebang defined in
/usr/lib/python-*/site-package/ is not fine in a RPM package.

Instead of carrying a patch in nodepool RPM packaging better
to fix this directly upstream.

Change-Id: I5a01e21243f175d28c67376941149e357cdacd26
This commit is contained in:
Fabien Boucher 2019-10-30 11:26:47 +01:00 committed by Tobias Henkel
parent 13104ab0ff
commit f57ac1881a
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
13 changed files with 0 additions and 36 deletions

1
nodepool/builder.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright 2013 OpenStack Foundation
#

View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
@ -66,7 +64,3 @@ class NodePoolBuilderApp(nodepool.cmd.NodepoolDaemonApp):
def main():
return NodePoolBuilderApp.main()
if __name__ == "__main__":
sys.exit(main())

5
nodepool/cmd/launcher.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright 2013 OpenStack Foundation
#
@ -80,7 +79,3 @@ class NodePoolLauncherApp(nodepool.cmd.NodepoolDaemonApp):
def main():
return NodePoolLauncherApp.main()
if __name__ == "__main__":
sys.exit(main())

7
nodepool/cmd/nodepoolcmd.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Copyright 2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@ -15,7 +13,6 @@
# under the License.
import logging.config
import sys
from prettytable import PrettyTable
@ -384,7 +381,3 @@ class NodePoolCmd(NodepoolApp):
def main():
return NodePoolCmd.main()
if __name__ == "__main__":
sys.exit(main())

2
nodepool/config.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2011-2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");

2
nodepool/exceptions.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
nodepool/launcher.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2011-2014 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");

2
nodepool/nodeutils.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2011-2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");

2
nodepool/provider_manager.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2011-2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");

2
nodepool/stats.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
nodepool/status.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Copyright 2013 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

2
nodepool/zk.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at