hgext/inotify/server.py
changeset 15151 0d4f6e843b05
parent 12650 fed4bb2c8def
child 16688 cfb6682961b8
--- a/hgext/inotify/server.py	Thu Sep 22 15:15:18 2011 +0200
+++ b/hgext/inotify/server.py	Tue Sep 20 15:21:27 2011 +0300
@@ -443,7 +443,7 @@
             if err.args[0] != errno.EPIPE:
                 raise
 
-if sys.platform == 'linux2':
+if sys.platform.startswith('linux'):
     import linuxserver as _server
 else:
     raise ImportError