Author: batiste.bieler
Date: Thu Jun 4 05:43:25 2009
New Revision: 541
Modified:
trunk/pages/admin/__init__.py
Log:
Fix issue 107
Modified: trunk/pages/admin/__init__.py
==============================================================================
--- trunk/pages/admin/__init__.py (original)
+++ trunk/pages/admin/__init__.py Thu Jun 4 05:43:25 2009
@@ -221,6 +221,7 @@
like Textarea or TextInput.
"""
if name and '.' in name:
+ name = str(name)
module_name, class_name = name.rsplit('.', 1)
module = __import__(module_name, {}, {}, [class_name])
widget = getattr(module, class_name, fallback)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---