add full directory size in src/filesearch.py
author“Alexandr <“popov2al@gmail.com”>
Sat, 4 Apr 2009 19:47:34 +0000 (23:47 +0400)
committer“Alexandr <“popov2al@gmail.com”>
Sat, 4 Apr 2009 19:47:34 +0000 (23:47 +0400)
src/filesearch.py

index 2c1f3e8..6216c6a 100644 (file)
@@ -32,10 +32,9 @@ class Search_File_Control(object):
         for fsize, fpath in nlargest(count, \
                 self.srch_abs.filegetter(start_path, get_stopit, label) ):
             filelist.append([fpath, size_hum_read(fsize), int(fsize)])
-        print size_hum_read(self.srch_abs.full())
         if not get_stopit():
             kill_func()
-            self.result_out.show(filelist)
+            self.result_out.show(filelist, self.srch_abs.full())
             self.result_out.run()