projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15516: Merge branch 'master' into 15516-fix-arvados-server-dependencies
[arvados.git]
/
sdk
/
python
/
arvados
/
commands
/
ls.py
diff --git
a/sdk/python/arvados/commands/ls.py
b/sdk/python/arvados/commands/ls.py
old mode 100755
(executable)
new mode 100644
(file)
index
c6ca085
..
86e728e
--- a/
sdk/python/arvados/commands/ls.py
+++ b/
sdk/python/arvados/commands/ls.py
@@
-1,6
+1,9
@@
-#!/usr/bin/env python
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
from __future__ import print_function
from __future__ import print_function
+from __future__ import division
import argparse
import collections
import argparse
import collections
@@
-31,7
+34,7
@@
def parse_args(args):
return parser.parse_args(args)
def size_formatter(coll_file):
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)
def name_formatter(coll_file):
return "{}/{}".format(coll_file.stream_name, coll_file.name)