You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/10/17 14:22:22 UTC

incubator-joshua git commit: bugfix in removing temp file

Repository: incubator-joshua
Updated Branches:
  refs/heads/master 3b6f7e811 -> 3b0b355e6


bugfix in removing temp file


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/3b0b355e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/3b0b355e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/3b0b355e

Branch: refs/heads/master
Commit: 3b0b355e6ddca31f35d7d29562d1b2430164c39e
Parents: 3b6f7e8
Author: Matt Post <po...@cs.jhu.edu>
Authored: Sat Oct 15 13:17:53 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Sat Oct 15 13:17:53 2016 -0400

----------------------------------------------------------------------
 scripts/training/run_thrax.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/3b0b355e/scripts/training/run_thrax.py
----------------------------------------------------------------------
diff --git a/scripts/training/run_thrax.py b/scripts/training/run_thrax.py
index 1356b05..f01b565 100755
--- a/scripts/training/run_thrax.py
+++ b/scripts/training/run_thrax.py
@@ -106,6 +106,6 @@ run('%s/bin/hadoop fs -getmerge %s/final/ %s' % (HADOOP, THRAXDIR, args.output_f
 
 # Cleanup
 if not args.debug:
-    os.remove(conf_file)
+    os.remove(conf_file_name)
     os.remove(thrax_file)
     run('%s/bin/hadoop fs -rm -r %s' % (HADOOP, THRAXDIR))