summaryrefslogtreecommitdiffstats
path: root/tryprune.py
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-07-26 14:14:30 +0800
committerPeng Wu <alexepico@gmail.com>2011-07-26 14:14:30 +0800
commit1966705ee7edc8296e629ee5bb526864a8428faf (patch)
treeaae669450ecb7a8fe896cd92ac1d2590609ccba2 /tryprune.py
parentef069f2ebb9b3e12b1b77d9ccee7f85bbceabe46 (diff)
downloadtrainer-1966705ee7edc8296e629ee5bb526864a8428faf.tar.gz
trainer-1966705ee7edc8296e629ee5bb526864a8428faf.tar.xz
trainer-1966705ee7edc8296e629ee5bb526864a8428faf.zip
write eval rate
Diffstat (limited to 'tryprune.py')
-rwxr-xr-xtryprune.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tryprune.py b/tryprune.py
index 459e4ed..41a45e9 100755
--- a/tryprune.py
+++ b/tryprune.py
@@ -158,7 +158,7 @@ if __name__ == '__main__':
#check try<name> directory
if os.access(trydir, os.F_OK):
- sys.exit('try' + tryname + ' exists.')
+ sys.exit(tryname + ' exists.')
os.makedirs(trydir)
cwdstatuspath = os.path.join(trydir, config.getFinalStatusFileName())
@@ -201,3 +201,4 @@ if __name__ == '__main__':
#sign status epoch
utils.sign_epoch(cwdstatus, 'Prune')
utils.store_status(cwdstatuspath, cwdstatus)
+ print('done')