OpenStack: fix a type error introduced by the fix to #1921.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
This commit is contained in:
David-Sarah Hopwood 2013-02-26 03:35:35 +00:00 committed by Daira Hopwood
parent 512cc28663
commit 2e38b3912a
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class AccountingCrawler(ShareCrawler):
new_shares = stored_shares - db_shares
for shareid in new_shares:
(si_s, shnum) = shareid
(used_space, sharetype, state) = stored_sharemap[shareid]
(used_space, sharetype) = stored_sharemap[shareid]
self._leasedb.add_new_share(si_a2b(si_s), shnum, used_space, sharetype)
self._leasedb.add_starter_lease(si_s, shnum)