Skip to content

Commit

Permalink
Merge pull request #378 from dhke/master
Browse files Browse the repository at this point in the history
Improve *BSD detection in watchdog.observers.platform
  • Loading branch information
DonyorM committed Oct 24, 2016
2 parents 3e6f9bc + 4cb5ad8 commit b609500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchdog/utils/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_platform_name():
return PLATFORM_DARWIN
elif sys.platform.startswith('linux'):
return PLATFORM_LINUX
elif sys.platform.startswith('bsd'):
elif sys.platform.startswith(('dragonfly', 'freebsd', 'netbsd', 'openbsd', )):
return PLATFORM_BSD
else:
return PLATFORM_UNKNOWN
Expand Down

0 comments on commit b609500

Please sign in to comment.