From 43e765fb610dcef081c097500f8864ab117e35a3 Mon Sep 17 00:00:00 2001 From: Naor Livne Date: Tue, 1 Aug 2017 18:03:01 +0300 Subject: [PATCH] pep8 and the case of the missing double spaces --- nebulactl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nebulactl.py b/nebulactl.py index e0c52f1e..b8f6d06b 100755 --- a/nebulactl.py +++ b/nebulactl.py @@ -139,12 +139,14 @@ def login(username, password, host, port, protocol): json.dump({"username": username, "password": password, "host": host, "port": port, "protocol": protocol}, auth_file) auth_file.write('\n') + # deletes the cred file from the user home folder @nebulactl.command(help="logout of nebula, useful when you want to make sure to delete stored credentials") def logout(): home = expanduser("~") os.remove(home + "/.nebula.json",) + @nebulactl.command(help="list nebula apps") def list(): connection = NebulaCall()