]> code.delx.au - pymsnt/commitdiff
Fixed XDB hash issue.
authorjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Tue, 8 Aug 2006 13:02:30 +0000 (13:02 +0000)
committerjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Tue, 8 Aug 2006 13:02:30 +0000 (13:02 +0000)
git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@215 55fbd22a-6204-0410-b2f0-b6c764c7e90a

committer: jamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>

src/xdb.py

index eb29e5c49d8601f65e634a2b1b3919d5682682a9..b371394eab62bf07d89f610eaaefd5e6f6b12479 100644 (file)
@@ -120,10 +120,10 @@ class XDB:
        
        def remove(self, file):
                """ Removes an XDB file """
-               hash = makeHash(file)
                file = self.name + X + hash + X + file + ".xml"
                if self.mangle:
                        file = mangle(file)
+               hash = makeHash(file)
                try:
                        os.remove(file)
                except IOError, e: