From: Zooko O'Whielacronx Date: Sun, 22 Feb 2009 18:57:51 +0000 (-0700) Subject: trivial: use more specific function for ascii-encoding storage index X-Git-Tag: allmydata-tahoe-1.4.0~94 X-Git-Url: https://git.rkrishnan.org/simplejson/components/com_hotproperty/?a=commitdiff_plain;h=5e90d82a020fc887cbbe433f417ddcf012b6b34f;p=tahoe-lafs%2Ftahoe-lafs.git trivial: use more specific function for ascii-encoding storage index --- diff --git a/src/allmydata/storage/server.py b/src/allmydata/storage/server.py index 6ae5dad6..1827dd5c 100644 --- a/src/allmydata/storage/server.py +++ b/src/allmydata/storage/server.py @@ -537,7 +537,7 @@ class StorageServer(service.MultiService, Referenceable): reason): fileutil.make_dirs(self.corruption_advisory_dir) now = time_format.iso_utc(sep="T") - si_s = base32.b2a(storage_index) + si_s = si_b2a(storage_index) # windows can't handle colons in the filename fn = os.path.join(self.corruption_advisory_dir, "%s--%s-%d" % (now, si_s, shnum)).replace(":","")