Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only use inotify on linux #1541

Merged
merged 1 commit into from
Jul 12, 2017
Merged

Only use inotify on linux #1541

merged 1 commit into from
Jul 12, 2017

Conversation

pjvandehaar
Copy link
Contributor

No description provided.

except ImportError:
has_inotify = False
has_inotify = False
if sys.platform == 'linux':
Copy link
Collaborator

Choose a reason for hiding this comment

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

We still support Python 3.2 so

if sys.platform.startswith('linux'):
    ...

would be better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch.

@tilgovi
Copy link
Collaborator

tilgovi commented Jul 11, 2017

LGTM

@berkerpeksag berkerpeksag merged commit fc7c15a into benoitc:master Jul 12, 2017
@berkerpeksag
Copy link
Collaborator

Thanks!

@pjvandehaar pjvandehaar deleted the osx-no-inotify branch July 12, 2017 15:58
hramezani pushed a commit to hramezani/gunicorn that referenced this pull request Jul 15, 2017
mjjbell pushed a commit to mjjbell/gunicorn that referenced this pull request Mar 16, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants