/[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.6 by lalo, Fri Feb 28 01:37:43 2003 UTC revision 1.7 by lalo, Fri Feb 28 01:45:45 2003 UTC
# Line 57  def initialize(context): Line 57  def initialize(context):
57      # hook into the Control Panel      # hook into the Control Panel
58      cp = Zope.app().Control_Panel      cp = Zope.app().Control_Panel
59      if cp_id not in cp.objectIds():      if cp_id not in cp.objectIds():
60          make_translation_service(cpl)          make_translation_service(cp)
61      pkg.translation_service = getattr(cp, cp_id)      pkg.translation_service = getattr(cp, cp_id)
62    
63      instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0))      instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0))

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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