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

fixed IO error and docstring #8

Merged
merged 2 commits into from
Mar 31, 2015
Merged

fixed IO error and docstring #8

merged 2 commits into from
Mar 31, 2015

Conversation

kf4x
Copy link
Contributor

@kf4x kf4x commented Mar 30, 2015

  • Added a try catch when trying to read history file to prevent IO exception a practice found in python-doc
  • Also corrected docstring with correct location of history file.

@kf4x
Copy link
Contributor Author

kf4x commented Mar 30, 2015

Also this was a bug only when the history file is empty, e.g. when first installed/created. It tries to read the empty file and throws IO exception.

removed line used for debugging
benohara added a commit that referenced this pull request Mar 31, 2015
fixed IO error and docstring
@benohara benohara merged commit 9360f70 into dotphiles:master Mar 31, 2015
@benohara
Copy link
Member

Cheers!

blarghmatey added a commit to blarghmatey/dotphiles that referenced this pull request Feb 16, 2016
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.

2 participants