index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 18:06:12 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-05 18:06:12 +0000 |
commit | 2caadb33bf60167401f7dd316e704bc42e32a1a9 (patch) | |
tree | d7c349246b591073b91a5b6635503cfafda3bd52 /pactest/pmdb.py | |
parent | 714a414e72591f3273583cb4970e1515c94e5887 (diff) |
-rwxr-xr-x | pactest/pmdb.py | 5 |
diff --git a/pactest/pmdb.py b/pactest/pmdb.py index 3720bcea..fb0e10bb 100755 --- a/pactest/pmdb.py +++ b/pactest/pmdb.py @@ -219,8 +219,7 @@ class pmdb: """ path = os.path.join(self.dbdir, self.treename, pkg.fullname()) - if not os.path.isdir(path): - os.makedirs(path); + mkdir(path) # desc # for local db entries: name, version, desc, groups, url, license, @@ -332,7 +331,7 @@ class pmdb: mkdescfile(pkg.fullname(), pkg) # Generate database archive - os.makedirs(path, 0755) + mkdir(path) archive = os.path.join(path, "%s%s" % (self.treename, PM_EXT_DB)) os.system("tar zcf %s *" % archive) |