Added new line at the end of file as of PEP8 recommendations Signed-off-by: Imesh Gunaratne <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/dd0120f0 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/dd0120f0 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/dd0120f0 Branch: refs/heads/stratos-4.1.x Commit: dd0120f018b768be4d727794eed962e17aca10fd Parents: 1c366d4 Author: Milindu Sanoj Kumarage <[email protected]> Authored: Sat Aug 1 22:39:32 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Tue Oct 13 16:32:47 2015 +0530 ---------------------------------------------------------------------- .../org.apache.stratos.python.cli/src/main/python/cli/CLI.py | 2 +- .../org.apache.stratos.python.cli/src/main/python/cli/Configs.py | 2 +- .../org.apache.stratos.python.cli/src/main/python/cli/Stratos.py | 3 --- .../org.apache.stratos.python.cli/src/main/python/cli/Utils.py | 1 - .../src/main/python/cli/exceptions/AuthenticationError.py | 2 +- components/org.apache.stratos.python.cli/src/main/python/setup.py | 1 - 6 files changed, 3 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py b/components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py index 6d73df7..a1de37d 100755 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py @@ -226,4 +226,4 @@ class CLI(Cmd): try: Stratos.deploy_user() except ValueError as e: - self.perror("sdc") \ No newline at end of file + self.perror("sdc") http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py b/components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py index 387b129..bc813a4 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py @@ -28,4 +28,4 @@ log_file_path = os.path.join(stratos_dir_path, log_file_name) stratos_url = os.getenv('STRATOS_URL', "https://localhost:9443/") stratos_api_url = stratos_url + "api/" stratos_username = os.getenv('STRATOS_USERNAME', "") -stratos_password = os.getenv('STRATOS_PASSWORD', "") \ No newline at end of file +stratos_password = os.getenv('STRATOS_PASSWORD', "") http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py b/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py index af47b50..40d511f 100755 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py @@ -127,6 +127,3 @@ class Stratos: else: raise requests.HTTPError() - - - http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py index bc33642..96cc5ff 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py @@ -83,4 +83,3 @@ def auth(func): else: return func(self, *args, **kwargs) return auth_inner - http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py b/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py index 23fe468..2d68bd7 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py +++ b/components/org.apache.stratos.python.cli/src/main/python/cli/exceptions/AuthenticationError.py @@ -20,4 +20,4 @@ class AuthenticationError(Exception): pass def __str__(self): - return "Authentication error" \ No newline at end of file + return "Authentication error" http://git-wip-us.apache.org/repos/asf/stratos/blob/dd0120f0/components/org.apache.stratos.python.cli/src/main/python/setup.py ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.python.cli/src/main/python/setup.py b/components/org.apache.stratos.python.cli/src/main/python/setup.py index f8fdccf..fce7dec 100644 --- a/components/org.apache.stratos.python.cli/src/main/python/setup.py +++ b/components/org.apache.stratos.python.cli/src/main/python/setup.py @@ -44,4 +44,3 @@ setup( stratos-cli=cli.Main:main ''', ) -
