index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jeremy Heiner <scalaprotractor@gmail.com> | 2013-10-12 12:44:33 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-14 13:01:15 +1000 |
commit | 95b0a868f255f2766ae03733882f30c8c7f3b7ca (patch) | |
tree | 49ee07b8cf5778b47a5037415f322aaa78b2f15d /test/pacman/pmdb.py | |
parent | 071ba05534f1e5f3eee3435214caa2642e3e2c23 (diff) |
-rw-r--r-- | test/pacman/pmdb.py | 4 |
diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index b7b3522a..53de91e6 100644 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -236,7 +236,7 @@ class pmdb(object): for pkg, entry in pkg_entries: path = os.path.join(self.dbdir, pkg.fullname()) util.mkdir(path) - for name, data in entry.iteritems(): + for name, data in entry.items(): util.mkfile(path, name, data) if self.dbfile: @@ -247,7 +247,7 @@ class pmdb(object): info = tarfile.TarInfo(pkg.fullname()) info.type = tarfile.DIRTYPE tar.addfile(info) - for name, data in entry.iteritems(): + for name, data in entry.items(): filename = os.path.join(pkg.fullname(), name) info = tarfile.TarInfo(filename) info.size = len(data) |