moksha/templates/widget.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9aa4ccaac822936c211c45c921bbbcbb7561f3e9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Feb 24 21:28:29 2010 -0500
Get our test suite working with TG2.0 and TG2.1!
diff --git a/moksha/templates/widget.mak b/moksha/templates/widget.mak
index 1d905d8..c3ab842 100644
--- a/moksha/templates/widget.mak
+++ b/moksha/templates/widget.mak
@@ -2,7 +2,7 @@
<head></head>
<body>${tmpl_context.widget(**options)}</body>
- % if tmpl_context.moksha_socket:
+ % if hasattr(tmpl_context, 'moksha_socket') and not
isinstance(tmpl_context.moksha_socket, basestring) :
${tmpl_context.moksha_socket()}
% endif
Show replies by date