Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit e585eed

Browse files
kossakBartoszCki
authored andcommitted
some stylistic tweaks
1 parent 70f93b9 commit e585eed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

paperspace/commands/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def _print_dict_recursive(self, input_dict, indent=0, tabulator=" "):
2020
else:
2121
self.logger.log("%s%s" % (tabulator * (indent + 1), val))
2222

23+
2324
class ListCommand(CommandBase):
2425
@property
2526
def request_url(self):

paperspace/commands/jobs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def _log_logs_list(self, data, table, table_data, follow):
122122
self.last_line_number = data[-1].get("line")
123123
for log in data:
124124
log_str = "{}\t{}\t{}"
125-
self.logger.log(log_str.format(style(fg="blue", text=str(log.get("jobId"))), style(fg="red", text=str(log.get("line"))), log.get("message")))
125+
self.logger.log(log_str.format(style(fg="blue", text=str(log.get("jobId"))),
126+
style(fg="red", text=str(log.get("line"))), log.get("message")))
126127
else:
127128
table_str = self._make_table(data, table, table_data)
128129
if len(table_str.splitlines()) > get_terminal_lines():

0 commit comments

Comments
 (0)