Mercurial > hg
changeset 6909:b5a6fce0bc29
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'
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Tue, 19 Aug 2008 15:36:03 -0700 |
parents | b77c25c2d6c0 |
children | 93609576244e |
files | hgext/inotify/server.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/inotify/server.py Tue Aug 19 18:17:11 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