Skip to content

Commit

Permalink
Fixed new flake errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Damian authored and Adrian Damian committed Oct 24, 2017
1 parent cdd6170 commit 477f263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vos/vos/commands/vls.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def size_format(size):
length = float(size)
scale = int(math.log(length) / math.log(1024))
length = "%.0f%s" % (length / (1024.0 ** scale), size_unit[scale])
except:
except Exception:
length = str(int(size))
else:
length = str(int(size))
Expand Down Expand Up @@ -121,7 +121,7 @@ def vls():
sorted_list = sorted(info_list,
key=lambda name: name[1][sort_key],
reverse=not opt.reverse)
except:
except Exception:
sorted_list = info_list
finally:
info_list = sorted_list
Expand Down

0 comments on commit 477f263

Please sign in to comment.