/[opental]/opental/PlacelessTranslationService/__init__.py
ViewVC logotype

Diff of /opental/PlacelessTranslationService/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by lalo, Tue Jul 29 22:31:28 2003 UTC revision 1.13 by lalo, Tue Aug 5 15:53:15 2003 UTC
# Line 68  def initialize(context): Line 68  def initialize(context):
68      from Products import PlacelessTranslationService as pkg      from Products import PlacelessTranslationService as pkg
69    
70      # hook into the Control Panel      # hook into the Control Panel
71      cp = Zope.app().Control_Panel      cp = context._ProductContext__app.Control_Panel # argh
72      if cp_id not in cp.objectIds():      if cp_id not in cp.objectIds():
73          make_translation_service(cp)          make_translation_service(cp)
74      pkg.translation_service = getattr(cp, cp_id)      pkg.translation_service = getattr(cp, cp_id)

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26