summaryrefslogtreecommitdiffstats
path: root/lib/utils.py
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-07-15 17:13:00 +0800
committerPeng Wu <alexepico@gmail.com>2011-07-15 17:13:16 +0800
commitd80de14cdd22cedf6821d123165beda4d80ff91e (patch)
treeff90043e9d8aefe8eaa2ea88ec77eec0ea96bf61 /lib/utils.py
parentfe2d8789c1b1ba6fab743ea7ff9d16c4306e46e3 (diff)
downloadtrainer-d80de14cdd22cedf6821d123165beda4d80ff91e.tar.gz
trainer-d80de14cdd22cedf6821d123165beda4d80ff91e.tar.xz
trainer-d80de14cdd22cedf6821d123165beda4d80ff91e.zip
re-design epochs
Diffstat (limited to 'lib/utils.py')
-rw-r--r--lib/utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/utils.py b/lib/utils.py
index 156fbaf..9024c7e 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -28,6 +28,12 @@ def store_status(outfile, obj):
write_file(outfile, json.dumps(obj))
return
+def check_epoch(obj, passname):
+ pass
+
+def sign_epoch(obj, passname):
+ pass
+
#test case
if __name__ == '__main__':
obj = load_status('/tmp/test.status')