Skip to content

Commit

Permalink
minor: redefined commands needing a job to operate
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Oct 23, 2012
1 parent d2638bd commit 38ed44a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/python/moa/plugin/system/moaGit.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def _commit(job, message):
#repo.git.commit(os.path.join(job.wd, '.moa', 'template.d'))


@moa.args.needsJob
@moa.args.command
def gitadd(job, args):
"""
Expand Down Expand Up @@ -208,6 +209,7 @@ def hook_postNew():
_commit(sysConf.job, "New Moa Project")


@moa.args.needsJob
@moa.args.command
def gitlog(job, args):
"""
Expand Down

0 comments on commit 38ed44a

Please sign in to comment.