Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix stage name exit msg

  • Loading branch information...
commit 2951e73c2ee181d6b0427e68593ea082d3663369 1 parent 4a95da7
Anton Grudko authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 n3d.py
View
4 n3d.py
@@ -103,7 +103,7 @@ def apply_stage(self, action):
stage = self.stages[self.stage_nums[self.next_stage]]
if not stage.get(action):
log.error('Stage %s has no %s action' % (
- self.stage_nums[self.next_stage], action))
+ self.stage_name(self.next_stage), action))
return True
oldcwd = os.getcwd()
os.chdir(self.options.work_dir)
@@ -125,7 +125,7 @@ def apply_stage(self, action):
time_done = datetime.now()
run_time = (time_done - time_init)
exit_log = "%s exit status: %s, run time: %s" % (
- self.stage_name(stage),
+ self.stage_name(self.next_stage),
self.cur_status,
run_time)
if int(self.cur_status) == 0:
Please sign in to comment.
Something went wrong with that request. Please try again.