From b2501950c7fca0b771fc79054d9592ea79753749 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 6 Sep 2007 19:52:55 -0500 Subject: Fix sync db location in pactest so new location is acceptable Signed-off-by: Dan McGee --- pactest/pmdb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pactest/pmdb.py b/pactest/pmdb.py index fb0e10bb..5d5104fb 100755 --- a/pactest/pmdb.py +++ b/pactest/pmdb.py @@ -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) # desc -- cgit v1.2.3-70-g09d2