Fix typo in swift-dispersion-report and populate

Change-Id: I5168942ad32b3461f4c46300e378b249dab6a2ee
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
Julien Danjou 2012-04-02 16:24:09 +02:00
parent a9b6355d15
commit 7a39fea989
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ if __name__ == '__main__':
container = 'dispersion_objects'
put_container(connpool, container, None)
object_ring = Ring(swift_dir, ring_name='object'))
object_ring = Ring(swift_dir, ring_name='object')
parts_left = dict((x, x) for x in xrange(object_ring.partition_count))
item_type = 'objects'
created = 0

View File

@ -290,7 +290,7 @@ Usage: %prog [options] [conf_file]
preauthurl=url, preauthtoken=token)
container_ring = Ring(swift_dir, ring_name='container')
object_ring = Ring(swift_dir, ring_name='object'))
object_ring = Ring(swift_dir, ring_name='object')
container_result = container_dispersion_report(coropool, connpool,
account, container_ring,