# HG changeset patch # User Brendan Cully # Date 1219185363 25200 # Node ID bf727bab38b9c4e811db84e33346f39c5a55552e # Parent b9d012ce8578cec2e0788ed898f1d42389fafab1 Use relative imports in inotify.server. Fixes an import failure I was getting under hgtk and hgweb: *** failed to import extension inotify: 'module' object has no attribute 'inotify' diff -r b9d012ce8578 -r bf727bab38b9 hgext/inotify/server.py --- a/hgext/inotify/server.py Sat Sep 06 00:45:13 2008 +0200 +++ b/hgext/inotify/server.py Tue Aug 19 15:36:03 2008 -0700 @@ -12,8 +12,8 @@ import errno, os, select, socket, stat, struct, sys, time try: - import hgext.inotify.linux as inotify - from hgext.inotify.linux import watcher + import linux as inotify + from linux import watcher except ImportError: print >> sys.stderr, '*** native support is required for this extension' raise