index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Rémy Oudompheng <remyoudompheng@gmail.com> | 2010-09-28 12:16:25 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-05 11:14:24 -0500 |
commit | 302188b1690e68333a3768f2a6d261559e81ca0a (patch) | |
tree | 12c76457a2667d24341385efe43f67be266f2527 /test | |
parent | fd38319106789e2239d2d31208e463aad8e11a8e (diff) |
-rwxr-xr-x | test/pacman/pmpkg.py | 10 |
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 48d79a35..1d55175e 100755 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -164,14 +164,8 @@ class pmpkg: # Generate package archive tar = tarfile.open(self.path, "w:gz") - - # package files - for root, dirs, files in os.walk('.'): - for d in dirs: - tar.add(os.path.join(root, d), recursive=False) - for f in files: - tar.add(os.path.join(root, f)) - + for i in os.listdir("."): + tar.add(i) tar.close() os.chdir(curdir) |