diff hgext/patchbomb.py @ 8208:32a2a1e244f1

ui: make interactive a method
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents f3abe032fc89
children 9674d64b6416
line wrap: on
line diff
--- 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