Skip to content

Commit

Permalink
better names in usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrf committed Jan 1, 2017
1 parent 2325766 commit c8c5527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ To use s3workers in a project
manager = s3workers.Manager(3)
bucket = boto.connect_s3().get_bucket('unitycloud-collab-store-development')
bucket = boto.connect_s3().get_bucket('mybucket')
progress = s3workers.S3KeyProgress()
def key_dumper(key):
progress.write('%s %10d %s %s', key.last_modified, key.size, key.md5, key.name)
job = s3workers.S3ListJob(bucket, 'brad/f', None, key_dumper, progress.report)
job = s3workers.S3ListJob(bucket, 'myprefix', None, key_dumper, progress.report)
manager.add_work(job)
manager.start_workers()
Expand Down

0 comments on commit c8c5527

Please sign in to comment.