Remove execute permission from swift/cli/ringbuilder.py
In Change-Id: Ia63f59a8faca1fad990784f27532ca07a2125454, 'bin/swift-ring-builder' is renamed to 'swift/cli/ringbuilder.py'. However, execute permission and '#! /usr/bin/env python' are left on the file. This patch removes execute permission and '#! /usr/bin/env python' from the file. Change-Id: I66370f825ce9ed9a40ec21f2745aa6aff22c8709
This commit is contained in:

committed by
Clay Gerrard

parent
02fb983dc6
commit
511a1b8698
5
swift/cli/ringbuilder.py
Executable file → Normal file
5
swift/cli/ringbuilder.py
Executable file → Normal file
@@ -1,4 +1,3 @@
|
|||||||
#! /usr/bin/env python
|
|
||||||
# Copyright (c) 2010-2012 OpenStack Foundation
|
# Copyright (c) 2010-2012 OpenStack Foundation
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -1232,7 +1231,3 @@ def main(arguments=None):
|
|||||||
exit(2)
|
exit(2)
|
||||||
else:
|
else:
|
||||||
Commands.__dict__.get(command, Commands.unknown.__func__)()
|
Commands.__dict__.get(command, Commands.unknown.__func__)()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
main()
|
|
||||||
|
Reference in New Issue
Block a user