index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-04-14 14:32:20 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-04-15 11:25:33 +1000 |
commit | 9f9cf95692d9399d1528635a70ce873cd0518449 (patch) | |
tree | 5551990885222d5cf6b18833e7e0e6354b9c9667 /test | |
parent | e19091b2bfe53cc1c37f2fc4999c359719637d7c (diff) |
-rw-r--r-- | test/pacman/util.py | 2 |
diff --git a/test/pacman/util.py b/test/pacman/util.py index be99cd57..65540ed3 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -100,7 +100,7 @@ def mkfile(base, name, data=""): def writedata(filename, data): if isinstance(data, list): data = "\n".join(data) - fd = file(filename, "w") + fd = open(filename, "w") if data: fd.write(data) if data[-1] != "\n": |