ごみのせいでエラーになった
@@ -141,6 +141,7 @@ | ||
141 | 141 | "FROM mailarc m1 " |
142 | 142 | "WHERE " |
143 | 143 | "" + sql_query, args) |
144 | + mailarchive_realm = Resource('mailarchive') | |
144 | 145 | |
145 | 146 | for id,subject,fromname,fromaddr, text,localdate in cursor: |
146 | 147 | #if 'WIKI_VIEW' in req.perm('wiki', name): |
@@ -608,7 +609,6 @@ | ||
608 | 609 | |
609 | 610 | def get_resource_description(self, resource, format=None, context=None, |
610 | 611 | **kwargs): |
611 | - mailarc = BlogPost(self.env, resource.id, resource.version) | |
612 | 612 | if context: |
613 | 613 | return tag.a('mail:'+resource.id, href=context.href.mailarchive(resource.id)) |
614 | 614 | else: |