Skip to content

Commit

Permalink
Merge branch 'hotfix/0.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
icereval committed Jul 30, 2015
2 parents 7d7407e + 84760e3 commit 6aa807b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ def test(verbose=False):


@task
def celery():
def celery(loglevel='INFO', hostname='%h'):
from waterbutler.tasks.app import app
app.worker_main(['worker', '-l', 'INFO'])
command = ['worker']
if loglevel:
command.extend(['--loglevel', loglevel])
if hostname:
command.extend(['--hostname', hostname])
app.worker_main(command)


@task
Expand Down
2 changes: 1 addition & 1 deletion waterbutler/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.9.0'
__version__ = '0.9.1'
__import__('pkg_resources').declare_namespace(__name__)

0 comments on commit 6aa807b

Please sign in to comment.