summaryrefslogtreecommitdiff
path: root/gbp/deb/source.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-08-28 19:30:12 +0200
committerGuido Günther <agx@sigxcpu.org>2013-08-28 19:30:12 +0200
commitc9d3d93d28f2a1f839770672f5846115d8d0e3c3 (patch)
tree2b0415593a8ad00a6110134dbdbaee7046481c01 /gbp/deb/source.py
parent8f073ebccd35f331981c8e2a396c0999de25a0b2 (diff)
Use open() instead of file()
since the later doesn't exist in python3
Diffstat (limited to 'gbp/deb/source.py')
-rw-r--r--gbp/deb/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/deb/source.py b/gbp/deb/source.py
index 1e87312..c740361 100644
--- a/gbp/deb/source.py
+++ b/gbp/deb/source.py
@@ -32,7 +32,7 @@ class FileVfs(object):
def open(self, path, flags=None):
flags = flags or 'r'
- return file(os.path.join(self._dir, path), flags)
+ return open(os.path.join(self._dir, path), flags)
class DebianSourceError(Exception):
pass