Skip to content

Commit

Permalink
bump up to 0.1.0rc4
Browse files Browse the repository at this point in the history
  • Loading branch information
junjun-zhang committed May 13, 2017
1 parent 0f52fce commit 2b017a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jtracker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.1.0rc3'
__version__ = '0.1.0rc4'

from .worker import Worker
from .jtracker import JTracker
from .jtracker import JTracker
1 change: 1 addition & 0 deletions jtracker/gitracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def next_job(self, worker=None):
if not os.path.isdir(new_job_path): os.makedirs(new_job_path)

self._git_cmd(['mv', job_file_path, new_job_path])

for t_state in (TASK_STATE.QUEUED, TASK_STATE.RUNNING, TASK_STATE.COMPLETED, TASK_STATE.FAILED):
t_path = os.path.join(new_job_path, t_state)
if not os.path.isdir(t_path): os.makedirs(t_path)
Expand Down

0 comments on commit 2b017a9

Please sign in to comment.