fixed issue 721, xml not callable oddity, thanks psathvik
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.7 (2012-03-19 15:51:10) dev
|
||||
Version 1.99.7 (2012-03-19 15:55:45) dev
|
||||
|
||||
+1
-1
@@ -577,7 +577,7 @@ def run_controller_in(controller, function, environment):
|
||||
vars = p(vars)
|
||||
if isinstance(vars,unicode):
|
||||
vars = vars.encode('utf8')
|
||||
if hasattr(vars,'xml'):
|
||||
elif hasattr(vars,'xml') and callable(vars.xml):
|
||||
vars = vars.xml()
|
||||
return vars
|
||||
|
||||
|
||||
Reference in New Issue
Block a user