def get_db_size(self):
        sout = subprocess.Popen(self.filename % "sync;du -s %s", shell=True,
                                stdout=subprocess.PIPE).stdout
        line = [l for l in sout][0]
        return int(line.split()[0])
dataset/ETHPy150Open PyTables/PyTables/bench/indexed_search.py/DB.get_db_size/swapped operands of `%`