Skip to content
Snippets Groups Projects
Commit 4cd687f2 authored by Hugo Posnic's avatar Hugo Posnic
Browse files

Remove extra spaces

parent 5f69a875
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,6 @@ import json
def list_to_tuple(list_data, named_tuple):
"""
Comvert list to a list with named tuples
:param list_data: the list to convert
:param named_tuple: tuple list item converts to
:return data: list of named tuples
......@@ -38,7 +37,6 @@ def list_to_tuple(list_data, named_tuple):
def rows_from_tuple(servers, joiner=" | "):
"""
Generates equal formatted lines
:param servers: named tuples
:param joiner: string used to join tuple items
:return lines: list of nicely formatted lines
......
......@@ -81,7 +81,6 @@ class ConsoleUI(npyscreen.NPSAppManaged):
def done(self, selection):
"""
After editing
:param selection:
"""
if selection:
......
......@@ -34,7 +34,6 @@ def read_json_file(filename, dictionary=True):
else:
with open(filename, "r") as infile:
result = json.load(infile)
except OSError:
pass
return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment