]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
OpenStack: fix a type error introduced by the fix to #1921.
authorDavid-Sarah Hopwood <david-sarah@jacaranda.org>
Tue, 26 Feb 2013 03:35:35 +0000 (03:35 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 10 Jul 2015 04:24:46 +0000 (05:24 +0100)
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
src/allmydata/storage/accounting_crawler.py

index dd135b47b34c99546440989691ae195e4a5fdb83..5e8a5d4090b320e103c5b9cf281dee51b4f0b9b2 100644 (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)