summaryrefslogtreecommitdiff
path: root/scripts/database
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-02-28 16:47:52 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-02-28 16:47:52 +0100
commitfa79720557412cad605589301580ccda39edce6c (patch)
tree6ca32652e5cbd335e57eb994a4e501d323a5042f /scripts/database
parent3c27edb087ce12956cb526af9280276b49f5a692 (diff)
Added tuning results for Intel Iris Pro and AMD R9 M370X
Diffstat (limited to 'scripts/database')
-rw-r--r--scripts/database/database.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/database/database.py b/scripts/database/database.py
index 6f3ce85e..b3f919ef 100644
--- a/scripts/database/database.py
+++ b/scripts/database/database.py
@@ -55,12 +55,11 @@ pd.set_option('display.width', 1000)
# Downloads the database and save it to disk
def DownloadDatabase(filename):
- sys.stdout.write("## Downloading database from '"+DATABASE_SERVER_URL+"'...")
+ print("## Downloading database from '"+DATABASE_SERVER_URL+"'...")
df = urlopen(DATABASE_SERVER_URL)
output = open(file_db,'wb')
output.write(df.read())
output.close()
- print("done")
# Loads the database from disk
def LoadDatabase(filename):
@@ -263,7 +262,7 @@ database = LoadDatabase(file_db)
for file_json in glob.glob(glob_json):
# Loads the newly imported data
- sys.stdout.write("## Processing '"+file_json+"'")
+ sys.stdout.write("## Processing '"+file_json+"' ")
imported_data = ImportDataFromFile(file_json)
imported_data = SanitizeVendorNames(imported_data)