Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make config_path default to None. #151

Merged
merged 1 commit into from
Apr 29, 2015

Conversation

bgruening
Copy link
Member

This should fix the following error:

bag@bag ~/temp % planemo config_init       
/home/bag/temp
Traceback (most recent call last):
  File "/home/bag/.local/bin//planemo", line 11, in <module>
    sys.exit(planemo())
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args[1:], **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/bag/.local/lib/python2.7/site-packages/planemo/commands/cmd_config_init.py", line 54, in cli
    config_path = config.global_config_path()
TypeError: global_config_path() takes exactly 1 argument (0 given)

@dannon
Copy link
Member

dannon commented Apr 29, 2015

+1

dannon added a commit that referenced this pull request Apr 29, 2015
Make config_path default to None.
@dannon dannon merged commit 32081bf into galaxyproject:master Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants