Skip to content

Commit 17853cf

Browse files
committed
[misc-] remove blank lines before elif/else #2504
1 parent cd0eb7f commit 17853cf

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

visidata/column.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ def getCell(self, row):
384384
error=['unknown'],
385385
note=f'[:onclick error-cell]{options.disp_note_typeexc}[:]',
386386
notecolor='color_warning')
387-
388387
elif isinstance(typedval, threading.Thread):
389388
return DisplayWrapper(None,
390389
text=options.disp_pending,

visidata/loaders/npy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def save_npy(vd, p, sheet):
7373
dt = 'datetime64[s]'
7474
elif col.type in vd.numericTypes:
7575
dt = 'f8'
76-
7776
else: # if col.type in (str, anytype):
7877
width = col.getMaxWidth(sheet.rows)
7978
dt = 'U'+str(width)

visidata/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,8 @@ def main_vd():
258258
current_args[optname] = optval
259259
if flGlobal:
260260
global_args[optname] = optval
261-
262261
elif arg.startswith('+'): # position cursor at start
263262
after_config.append((vd.moveToPos, *vd.parsePos(arg[1:], inputs=inputs)))
264-
265263
elif current_args.get('play', None) and '=' in arg:
266264
# parse 'key=value' pairs for formatting cmdlog template in replay mode
267265
k, v = arg.split('=', maxsplit=1)

0 commit comments

Comments
 (0)