diff -r e7d3b509af8b -r 08a0f04b56bd hgext/inotify/client.py --- a/hgext/inotify/client.py Mon Jan 25 00:05:22 2010 -0600 +++ b/hgext/inotify/client.py Mon Jan 25 00:05:27 2010 -0600 @@ -11,7 +11,8 @@ import common, server import errno, os, socket, struct -class QueryFailed(Exception): pass +class QueryFailed(Exception): + pass def start_server(function): """ @@ -137,8 +138,10 @@ states = 'almrx!' if ignored: raise ValueError('this is insanity') - if clean: states += 'c' - if unknown: states += '?' + if clean: + states += 'c' + if unknown: + states += '?' yield states req = '\0'.join(genquery())