+ better stdout
This commit is contained in:
parent
40175253d6
commit
d0de7e872f
1 changed files with 3 additions and 3 deletions
|
@ -48,8 +48,8 @@ if __name__ == "__main__" :
|
||||||
print "SHAPES COUNT=",count
|
print "SHAPES COUNT=",count
|
||||||
delta = shp_file_length-calc_total_size
|
delta = shp_file_length-calc_total_size
|
||||||
if delta > 0 :
|
if delta > 0 :
|
||||||
print "BAD SHAPE FILE: extra ", 2*(shp_file_length-calc_total_size),"bytes"
|
print "BAD SHAPE FILE: extra ", 2*delta,"bytes"
|
||||||
elif delta < 0:
|
elif delta < 0:
|
||||||
print "BAD SHAPE FILE: missing ", 2*(shp_file_length-calc_total_size),"bytes"
|
print "BAD SHAPE FILE: missing ", 2*delta,"bytes"
|
||||||
else:
|
else:
|
||||||
print "SHAPE FILE IS GOOD!"
|
print "SHAPE FILE LOOKS GOOD!"
|
||||||
|
|
Loading…
Reference in a new issue