Fix sync db location in pactest so new location is acceptable

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-09-06 19:52:55 -05:00
parent b15a5194d1
commit b2501950c7

View file

@ -218,7 +218,10 @@ class pmdb:
""" """
""" """
path = os.path.join(self.dbdir, self.treename, pkg.fullname()) if self.treename == "local":
path = os.path.join(self.dbdir, self.treename, pkg.fullname())
else:
path = os.path.join(self.dbdir, "sync", self.treename, pkg.fullname())
mkdir(path) mkdir(path)
# desc # desc