import tempfile
import shutil
import sys
+import errno
def _shuffle_fd3():
os.dup2(1,3)
os.stat(path)
return True
except OSError as oe:
- if oe.errno != os.errno.ENOENT: raise oe
+ if oe.errno != errno.ENOENT: raise oe
return False
def _sock_dir(d, target_euid, target_root):