X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f08a738f1565b2dabde28dc9e8d1bad9622d5529..31d31c010bb6b5170e3962fdd50c6d393cfe6076:/sdk/python/arvados/commands/ls.py?ds=sidebyside diff --git a/sdk/python/arvados/commands/ls.py b/sdk/python/arvados/commands/ls.py old mode 100755 new mode 100644 index c6ca0855f7..3e3f67142b --- a/sdk/python/arvados/commands/ls.py +++ b/sdk/python/arvados/commands/ls.py @@ -1,6 +1,5 @@ -#!/usr/bin/env python - from __future__ import print_function +from __future__ import division import argparse import collections @@ -31,7 +30,7 @@ def parse_args(args): return parser.parse_args(args) def size_formatter(coll_file): - return "{:>10}".format((coll_file.size + 1023) / 1024) + return "{:>10}".format((coll_file.size + 1023) // 1024) def name_formatter(coll_file): return "{}/{}".format(coll_file.stream_name, coll_file.name)