mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
Bump scripts to python3
This commit is contained in:
@@ -33,13 +33,13 @@ if len(args) != 0:
|
||||
parser.error("incorrect number of arguments")
|
||||
|
||||
if (options.full):
|
||||
crange = range(0,256)
|
||||
crange = list(range(0,256))
|
||||
crange.remove(ord('\n'))
|
||||
else:
|
||||
crange = range(32, 127)
|
||||
crange = list(range(32, 127))
|
||||
|
||||
for i in xrange(0, options.count):
|
||||
for i in range(0, options.count):
|
||||
len = randint(1, options.depth)
|
||||
s = [ chr(choice(crange)) for x in xrange(len) ]
|
||||
s = [ chr(choice(crange)) for x in range(len) ]
|
||||
line = str(i) + ":/" + "".join(s) + "/" + generateRandomOptions()
|
||||
print line
|
||||
print(line)
|
||||
|
||||
Reference in New Issue
Block a user