From 511a1b8698889c430bf673ed916ae41a96b99c5c Mon Sep 17 00:00:00 2001 From: Kazuhiro MIYAHARA Date: Fri, 12 Feb 2016 19:01:59 +0900 Subject: [PATCH] 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 --- swift/cli/ringbuilder.py | 5 ----- 1 file changed, 5 deletions(-) mode change 100755 => 100644 swift/cli/ringbuilder.py diff --git a/swift/cli/ringbuilder.py b/swift/cli/ringbuilder.py old mode 100755 new mode 100644 index 75d2b347a6..9eda3210bd --- a/swift/cli/ringbuilder.py +++ b/swift/cli/ringbuilder.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # Copyright (c) 2010-2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -1232,7 +1231,3 @@ def main(arguments=None): exit(2) else: Commands.__dict__.get(command, Commands.unknown.__func__)() - - -if __name__ == '__main__': - main()