chiark / gitweb /
Add a new 'wait' flag to the rescan command. This allows the caller
[disorder] / python / disorder.py.in
index 23f840cccd1749de5746627c3e34566a2676d103..ef33106fa8a1f8f007f1405e6889ab29c872619a 100644 (file)
@@ -479,12 +479,12 @@ class client:
     """
     self._simple("reconfigure")
 
-  def rescan(self):
+  def rescan(self, *flags):
     """Rescan one or more collections.
 
     Only trusted users can perform this operation.
     """
-    self._simple("rescan")
+    self._simple("rescan", *flags)
 
   def version(self):
     """Return the server's version number."""