[qa] Fix pyton syntax in rpc tests

This commit is contained in:
MarcoFalke
2015-12-02 18:12:23 +01:00
parent 17ef279304
commit 7777994846
34 changed files with 80 additions and 129 deletions

View File

@@ -13,7 +13,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
import os.path
def calc_usage(blockdir):
return sum(os.path.getsize(blockdir+f) for f in os.listdir(blockdir) if os.path.isfile(blockdir+f))/(1024*1024)