aboutsummaryrefslogtreecommitdiff
path: root/scripts/checkrom.py
diff options
context:
space:
mode:
authorJohannes Krampf <johannes.krampf@googlemail.com>2014-01-12 11:19:22 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-01-20 12:42:43 -0500
commit9d7d044d693dbefabf943b07cc29584f5cc4297b (patch)
tree615b58c07fd97c3a4cd88d9201b58e3e3472210a /scripts/checkrom.py
parent064fd069ef88aebe0fdf9850dc35bcffcb616763 (diff)
downloadseabios-hppa-9d7d044d693dbefabf943b07cc29584f5cc4297b.zip
seabios-hppa-9d7d044d693dbefabf943b07cc29584f5cc4297b.tar.gz
seabios-hppa-9d7d044d693dbefabf943b07cc29584f5cc4297b.tar.bz2
build: Be explicit that we want integers when dividing for python3 compat.
Signed-off-by: Johannes Krampf <johannes.krampf@googlemail.com>
Diffstat (limited to 'scripts/checkrom.py')
-rwxr-xr-xscripts/checkrom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkrom.py b/scripts/checkrom.py
index e724844..30c9db2 100755
--- a/scripts/checkrom.py
+++ b/scripts/checkrom.py
@@ -86,7 +86,7 @@ def main():
print("Total size: %d Fixed: %d Free: %d (used %.1f%% of %dKiB rom)" % (
datasize, runtimesize, finalsize - datasize
, (datasize / float(finalsize)) * 100.0
- , finalsize / 1024))
+ , int(finalsize / 1024)))
# Write final file
f = open(outfile, 'wb')