Handle the case where the suffix is in the name itself.

This commit is contained in:
Jeremy Fincher 2003-12-02 20:36:02 +00:00
parent 882b872d7c
commit 1d54f0ec22

View File

@ -83,7 +83,10 @@ class DBHandler(object):
self.cachedDb = None
def makeFilename(self):
return self.name + self.suffix
if self.name.endswith(self.suffix):
return self.name
else:
return self.name + self.suffix
def makeDb(self, filename):
raise NotImplementedError