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

import errno for errno.EEXIST #349

Merged
merged 1 commit into from
Nov 7, 2013
Merged

Conversation

funman
Copy link
Contributor

@funman funman commented Nov 6, 2013

No description provided.

@bitwiseman
Copy link
Member

Is this required for script to work? If so, pleas add a test that exercises the code path that uses this. If not, we should not add it.

@funman
Copy link
Contributor Author

funman commented Nov 7, 2013

Yes this is required, this is what I get on Ubuntu 13.10

$ js-beautify -o /dev/null -
global name 'errno' is not defined

So the test is just running the script :)

@bitwiseman
Copy link
Member

which version of python is on that system?

@funman
Copy link
Contributor Author

funman commented Nov 7, 2013

@bitwiseman
Copy link
Member

Our travis-ci uses to 2.7.3. I'll got ahead and merge, as it doesn't break the existing scenarios.
Thanks!

bitwiseman added a commit that referenced this pull request Nov 7, 2013
import errno for errno.EEXIST
@bitwiseman bitwiseman merged commit 8942be9 into beautifier:master Nov 7, 2013
@funman
Copy link
Contributor Author

funman commented Nov 7, 2013

Thanks :)

I suppose 2.7.4 or 2.7.5 removed an implicit import errno from one of the modules?

@bitwiseman
Copy link
Member

Released 1.4.2, please try again.

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