trivial: use more specific function for ascii-encoding storage index
authorZooko O'Whielacronx <zooko@zooko.com>
Sun, 22 Feb 2009 18:57:51 +0000 (11:57 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sun, 22 Feb 2009 18:57:51 +0000 (11:57 -0700)
src/allmydata/storage/server.py

index 6ae5dad65aa63ab20c94dc58fa50bb461b8a4911..1827dd5c4df6974514e08b100536909923e77f5a 100644 (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(":","")