Drop a useless pass.
This commit is contained in:
parent
a32ec63a46
commit
e6497992e8
|
@ -136,7 +136,6 @@ class Terminator:
|
||||||
dbg ('Using FreeBSD self.pid_get_cwd')
|
dbg ('Using FreeBSD self.pid_get_cwd')
|
||||||
except (OSError, NotImplementedError, ImportError):
|
except (OSError, NotImplementedError, ImportError):
|
||||||
dbg ('FreeBSD version too old for self.pid_get_cwd')
|
dbg ('FreeBSD version too old for self.pid_get_cwd')
|
||||||
pass
|
|
||||||
elif platform.system() == 'Linux':
|
elif platform.system() == 'Linux':
|
||||||
dbg ('Using Linux self.pid_get_cwd')
|
dbg ('Using Linux self.pid_get_cwd')
|
||||||
self.pid_get_cwd = lambda pid: os.path.realpath ('/proc/%s/cwd' % pid)
|
self.pid_get_cwd = lambda pid: os.path.realpath ('/proc/%s/cwd' % pid)
|
||||||
|
|
Loading…
Reference in New Issue