Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Grudko committed Nov 12, 2012
1 parent 52c3cf4 commit 52d24a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Expand Up @@ -28,7 +28,6 @@
orig_cwd = os.getcwd() orig_cwd = os.getcwd()
os.chdir(cmd_dir) os.chdir(cmd_dir)



def restore_cwd(): def restore_cwd():
os.chdir(orig_cwd) os.chdir(orig_cwd)


Expand Down Expand Up @@ -114,10 +113,10 @@ def apply_stage(self, action):
timeout=86400) timeout=86400)
signal.signal(signal.SIGWINCH, self.sigwinch_passthrough) signal.signal(signal.SIGWINCH, self.sigwinch_passthrough)
self.p.interact() self.p.interact()
self.p.close()
except OSError as e: except OSError as e:
if e.errno != errno.EIO: if e.errno != errno.EIO:
raise e raise e
self.p.close()
self.cur_status = self.p.exitstatus self.cur_status = self.p.exitstatus
env_fifo.close() env_fifo.close()
time_done = datetime.now() time_done = datetime.now()
Expand Down

0 comments on commit 52d24a7

Please sign in to comment.