def umount(self): try: subprocess.check_call(['umount', os.path.join(self.chroot, 'proc')]) except subprocess.CalledProcessError: pass