Changeset 81475250 in mainline for tools/gentestfile.py


Ignore:
Timestamp:
2012-04-08T11:40:35Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d9f53877
Parents:
1dbe465 (diff), 6582b36 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Build scripts work with Python 3 (thx Sean Bartell)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gentestfile.py

    r1dbe465 r81475250  
    3636
    3737if len(sys.argv) < 2:
    38         print "Usage: gentestfile.py <count of 64-bit numbers to output>"
     38        print("Usage: gentestfile.py <count of 64-bit numbers to output>")
    3939        exit()
    4040
    41 m = long(sys.argv[1])
     41m = int(sys.argv[1])
    4242i = 0
    4343pow_2_64 = 2 ** 64
Note: See TracChangeset for help on using the changeset viewer.