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

Error if no global: project: section #5

Open
marsbard opened this issue May 8, 2016 · 0 comments
Open

Error if no global: project: section #5

marsbard opened this issue May 8, 2016 · 0 comments

Comments

@marsbard
Copy link
Owner

marsbard commented May 8, 2016

if no global: section:

$ grua fill

!!!
An exception of type ValueError occured. Arguments:
('list.remove(x): x not in list',)
(<type 'exceptions.ValueError'>, 'grua', 57)
!!!

with a global: section but no project: child

$ grua fill
Traceback (most recent call last):
  File "/usr/local/bin/grua", line 33, in <module>
    if mem.config['global'].has_key('project'):
AttributeError: 'NoneType' object has no attribute 'has_key'

It should not be necessary to include this section, if not included the default value grua should be used (or maybe not... better to just warn that it is required but missing?)

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

No branches or pull requests

1 participant