Permalink
Browse files

Fix

  • Loading branch information...
1 parent 52c3cf4 commit 52d24a7634ac70cb6187bdcf3459892e8e6c7617 Anton Grudko committed Nov 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 main.py
View
@@ -28,7 +28,6 @@
orig_cwd = os.getcwd()
os.chdir(cmd_dir)
-
def restore_cwd():
os.chdir(orig_cwd)
@@ -114,10 +113,10 @@ def apply_stage(self, action):
timeout=86400)
signal.signal(signal.SIGWINCH, self.sigwinch_passthrough)
self.p.interact()
- self.p.close()
except OSError as e:
if e.errno != errno.EIO:
raise e
+ self.p.close()
self.cur_status = self.p.exitstatus
env_fifo.close()
time_done = datetime.now()

0 comments on commit 52d24a7

Please sign in to comment.