Changeset 3141 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser
- Timestamp:
- Apr 19, 2011 9:00:56 AM (13 years ago)
- Location:
- quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/keywords.py
r3134 r3141 2 2 import sys 3 3 import urllib2 4 from xml.dom import Node5 4 6 5 from zope.interface import implements … … 8 7 from zope.component import queryAdapter 9 8 10 from Acquisition import aq_acquire11 9 from Products.Five.browser import BrowserView 12 10 … … 54 52 finally: 55 53 resp.close() 56 except (urllib2.URLError, urllib2.HTTPError) , e:54 except (urllib2.URLError, urllib2.HTTPError): 57 55 # In case of exceed timeout period or 58 56 # other URL connection errors. -
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/viewlets.py
r3140 r3141 15 15 from quintagroup.seoptimizer.browser.seo_configlet import ISEOConfigletSchema 16 16 17 from Products.CMFPlone.PloneTool import *17 from Products.CMFPlone.PloneTool import FLOOR_DATE, CEILING_DATE 18 18 19 19 -
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/views.py
r3134 r3141 245 245 """ Set seo custom metatags properties. 246 246 """ 247 context =aq_inner(self.context)247 aq_inner(self.context) 248 248 for tag in custommetatags: 249 249 self.setProperty('%s%s' % (PROP_CUSTOM_PREFIX, tag['meta_name']), … … 291 291 of name:value pairs {'foo':6} or passing name=value parameters. 292 292 """ 293 context =aq_inner(self.context)293 aq_inner(self.context) 294 294 self.delAllSEOCustomMetaTagsProperties() 295 295 if kw.get('seo_custommetatags_override'): … … 354 354 """ Checks visibility 'SEO Properties' action for content 355 355 """ 356 context =aq_inner(self.context)356 aq_inner(self.context) 357 357 plone = queryMultiAdapter((self, self.request), 358 358 name="plone_portal_state").portal()
Note: See TracChangeset
for help on using the changeset viewer.