diff options
Diffstat (limited to 'whatmaps/process.py')
-rw-r--r-- | whatmaps/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/process.py b/whatmaps/process.py index 3fe23f3..f3d5dcd 100644 --- a/whatmaps/process.py +++ b/whatmaps/process.py @@ -53,7 +53,7 @@ class Process(object): def _read_maps(self): """Read the SOs from /proc/<pid>/maps""" try: - f = file(self._procpath('%d/maps' % self.pid)) + f = open(self._procpath('%d/maps' % self.pid)) except IOError as e: # ignore killed process if e.errno != errno.ENOENT: |