Skip to content

Commit

Permalink
pep8 and the case of the missing double spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
naorlivne committed Aug 1, 2017
1 parent 28c4a15 commit 43e765f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nebulactl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 43e765f

Please sign in to comment.