diff hgext/inotify/client.py @ 10282:08a0f04b56bd

many, many trivial check-code fixups
author Matt Mackall <mpm@selenic.com>
date Mon, 25 Jan 2010 00:05:27 -0600
parents 25e572394f5c
children 34cc8b84407f 68a30daead3f
line wrap: on
line diff
--- 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())