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

Print a more helpful error if there is no config.py file. Fixes #841 #842

Merged
merged 1 commit into from
Dec 7, 2015

Conversation

hallvors
Copy link
Contributor

@hallvors hallvors commented Dec 1, 2015

@hallvors hallvors changed the title Print a more helpful error if there is not config.py file. Fixes #841 Print a more helpful error if there is no config.py file. Fixes #841 Dec 1, 2015
if e.import_name == 'config':
# config not found, somebody forgot to make a copy of config.py.example and modify?
print(NO_CONF_ERROR)
quit()

This comment was marked as abuse.

@karlcow
Copy link
Member

karlcow commented Dec 2, 2015

Also would be good to have the issue number in the commit message. #841

@miketaylr
Copy link
Member

@hallvors can you squash/fixup these 2 commits into 1? After that, LGTM to merge.

@hallvors
Copy link
Contributor Author

hallvors commented Dec 7, 2015

Happy now, @miketaylr ?

@miketaylr
Copy link
Member

LGTM. 👍

@miketaylr miketaylr closed this Dec 7, 2015
@miketaylr miketaylr reopened this Dec 7, 2015
miketaylr pushed a commit that referenced this pull request Dec 7, 2015
Print a more helpful error if there is no config.py file. Fixes #841
@miketaylr miketaylr merged commit 3e1a942 into master Dec 7, 2015
@miketaylr miketaylr deleted the noconfighelp branch December 7, 2015 23:35
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