syntax error

This commit is contained in:
James Turk 2012-05-15 17:42:22 -04:00
parent 7387aab273
commit 4e8f1430c4

View File

@ -29,7 +29,7 @@ def main():
if args.sample:
limit = 100
print 'sampling {0} documents'.format(limit)
docs = docs[limit(limit).skip(random.randint(0, total-limit))
docs = docs.limit(limit).skip(random.randint(0, total-limit))
args.immediate = True
errors = 0