hgext/patchbomb.py
changeset 8208 32a2a1e244f1
parent 8188 f3abe032fc89
child 8252 9674d64b6416
--- a/hgext/patchbomb.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/hgext/patchbomb.py	Sun Apr 26 16:50:44 2009 -0500
@@ -76,7 +76,7 @@
 from mercurial.node import bin
 
 def prompt(ui, prompt, default=None, rest=': ', empty_ok=False):
-    if not ui.interactive:
+    if not ui.interactive():
         return default
     if default:
         prompt += ' [%s]' % default