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

Fix CLI --help for OS X #846

Merged
merged 1 commit into from
Sep 28, 2015
Merged

Fix CLI --help for OS X #846

merged 1 commit into from
Sep 28, 2015

Conversation

davidxia
Copy link
Contributor

No description provided.

@davidxia
Copy link
Contributor Author

I used sys.platform since os.name is posix for both linux and OS X. I didn't touch the nt part because I don't know the choice behind that. For Windows, the sys.platform doc says it can return the below:

Windows 'win32'
Windows/Cygwin  'cygwin'

@@ -1,5 +1,6 @@
"""Registers functions to be called if an exception or signal occurs."""
import logging
import sys
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we order imports alphabetically (and group them by stdlib/3rd-party/local sections)

@kuba
Copy link
Contributor

kuba commented Sep 27, 2015

LGTM. Thanks!

Could the merger fix above comment in case it's not resolved earlier?

@BKreisel, could you check it, please? :)

@BKreisel
Copy link
Contributor

LGTM as well. I've confirmed the issue outlined in #841 and that this patch resolves the issue.

OS X's signal module doesn't have SIGPWR. Don't try to use it.

Fixes #841
@davidxia
Copy link
Contributor Author

@kuba I've reordered the imports. Thanks.

@bmw
Copy link
Member

bmw commented Sep 28, 2015

Thanks for the patch @davidxia.

lgtm

bmw added a commit that referenced this pull request Sep 28, 2015
@bmw bmw merged commit 928fa7b into certbot:master Sep 28, 2015
@davidxia davidxia deleted the patch1 branch September 28, 2015 13:34
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.

4 participants