trivial: use more specific function for ascii-encoding storage index

This commit is contained in:
Zooko O'Whielacronx 2009-02-22 11:57:51 -07:00
parent dd559e96b4
commit 5e90d82a02

View File

@ -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(":","")