Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ac664e3 authored by Anthony King's avatar Anthony King Committed by Tom Powell
Browse files

py3: fileslist

Change-Id: Id80525a2aebb361b8cd178c02861f370ecae91eb
parent 5d01e808
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@
# limitations under the License.
#

from __future__ import print_function

import operator, os, sys

def get_file_size(path):
@@ -39,7 +41,7 @@ def main(argv):
          pass
  output.sort(key=operator.itemgetter(0), reverse=True)
  for row in output:
    print "%12d  %s" % row
    print("%12d  %s" % row)

if __name__ == '__main__':
  main(sys.argv)