prof.bio -> self.bio in prof.Professor.profile
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 00:41:15 +0000 (20:41 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 00:41:15 +0000 (20:41 -0400)
sitecore/prof/__init__.py

index a148c3064436804a7ea190718e94620ce5aa8b11..5226181c8f0e5fa6e9a1a561cc55eab6fc614c33 100644 (file)
@@ -180,4 +180,4 @@ class Professor (AttributeHolder):
         if self.bio.profile == None:
             return None
         return ''.join(['<p>\n%s\n</p>\n' % p
-                        for p in prof.bio.profile.split('\n')])
+                        for p in self.bio.profile.split('\n')])