diff hgext/record.py @ 8208:32a2a1e244f1

ui: make interactive a method
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:44 -0500
parents 08e1baf924ca
children 46293a0c7e9f
line wrap: on
line diff
--- a/hgext/record.py	Sun Apr 26 16:50:44 2009 -0500
+++ b/hgext/record.py	Sun Apr 26 16:50:44 2009 -0500
@@ -394,7 +394,7 @@
 
 
 def dorecord(ui, repo, committer, *pats, **opts):
-    if not ui.interactive:
+    if not ui.interactive():
         raise util.Abort(_('running non-interactively, use commit instead'))
 
     def recordfunc(ui, repo, message, match, opts):