class Cli(object):
- def show(self, path, size):
- print "%12g %s" % (size/1024./1024., path)
-
def __init__(self):
pass
+
+ def show(self, path, size):
+ print "%12g %s" % (size/1024./1024., path)
# pylint: disable-msg=C0301
class FileList(object):
+
+ def __init__(self, out_ui):
+ self.ui = out_ui
+ self.flist = []
+
def add(self, fpath, fsize):
self.flist.append((fpath, fsize))
def show(self):
for fpath, fsize in self.flist:
self.ui.show(fpath, fsize)
-
- def __init__(self, out_ui):
- self.ui = out_ui
- self.flist = []