Commits

Matthew Marshall committed b307239

Fixed missing -b flag when calling du.

  • Participants
  • Parent commits 4891c62

Comments (0)

Files changed (1)

 
     def update_disk_usage(self):
         assert(os.path.exists(self.file_path+"/.hg"))
-        p = subprocess.Popen(['du','-s',self.file_path], stdout=subprocess.PIPE)
+        p = subprocess.Popen(['du','-s','-b',self.file_path], stdout=subprocess.PIPE)
         if p.wait() != 0:
             raise RuntimeError("Calling du failed (returned %d.)" %
                     p.returncode)