[Libreoffice-commits] .: Branch 'newbranch' - liboextensioncenter/am.liboextensioncenter

Andreas Mantke andreasma at kemper.freedesktop.org
Thu Apr 14 11:39:00 PDT 2011


 liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.py    |   10 +++++-----
 liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.pyc   |binary
 liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.py   |    2 +-
 liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.pyc  |binary
 liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/configure.zcml |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 8383ed431529463a2b1e45617e6f52c891141526
Author: Andreas Mantke <maand at gmx.de>
Date:   Thu Apr 14 20:38:46 2011 +0200

    change to liboextensioncenter

diff --git a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.py b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.py
index 88e13a4..54a936e 100755
--- a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.py
+++ b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.py
@@ -2,7 +2,7 @@ from zope.component import getAdapter
 from zope.component import getAdapters
 from Acquisition import aq_parent
 
-from Products.PloneSoftwareCenter.storage.interfaces import IPSCFileStorage
+from am.liboextensioncenter.storage.interfaces import IPSCFileStorage
 
 
 class DynamicStorage(object):
@@ -29,12 +29,12 @@ class DynamicStorage(object):
         """returns the storage name, which is stored at PSC level"""
         # XXX crawl back up - what if the node in not in a PSC instance ?
         # need a better code here
-        from Products.PloneSoftwareCenter.content.root import PloneSoftwareCenter
+        from am.liboextensioncenter.content.root import liboextensioncenter
 
         psc = instance
-        while not isinstance(psc, PloneSoftwareCenter) and psc is not None:
+        while not isinstance(psc, liboextensioncenter) and psc is not None:
             # Walk up the acquisition chain to the
-            # PloneSoftwareCenter.  Note: in the context of browser
+            # liboextensioncenter.  Note: in the context of browser
             # views the acquisition chain of the context is: context,
             # browser view, context, real parent of context.  So the
             # context is its own grandparent.
@@ -42,7 +42,7 @@ class DynamicStorage(object):
 
         if psc is None:
             # Should Not Happen (TM)
-            raise Exception("No PloneSoftwareCenter found in acquisition "
+            raise Exception("No liboextensioncenter found in acquisition "
                             "chain of %r." % instance)
         name = psc.getStorageStrategy()
         return getAdapter(psc, IPSCFileStorage, name)
diff --git a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.pyc b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.pyc
index 8ec5b59..11bbea6 100644
Binary files a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.pyc and b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/__init__.pyc differ
diff --git a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.py b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.py
index 17b9cea..f52e940 100755
--- a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.py
+++ b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.py
@@ -3,7 +3,7 @@ from zope.component import adapts
 
 from Products.Archetypes.atapi import AttributeStorage
 
-from Products.PloneSoftwareCenter.storage.interfaces import IPSCFileStorage
+from am.liboextensioncenter.storage.interfaces import IPSCFileStorage
 from Products.Archetypes.interfaces.storage import IStorage
 
 class ArchetypeStorage(AttributeStorage):
diff --git a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.pyc b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.pyc
index 2f1f594..c74d552 100644
Binary files a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.pyc and b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/archetype.pyc differ
diff --git a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/configure.zcml b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/configure.zcml
index aae6722..2527132 100644
--- a/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/configure.zcml
+++ b/liboextensioncenter/am.liboextensioncenter/am/liboextensioncenter/storage/configure.zcml
@@ -1,7 +1,7 @@
 <configure xmlns="http://namespaces.zope.org/zope"
            xmlns:five="http://namespaces.zope.org/five"
            xmlns:zcml="http://namespaces.zope.org/zcml"
-           i18n_domain="plonesoftwarecenter">
+           i18n_domain="liboextensioncenter">
 
   <!-- release storage adapters -->
   <adapter


More information about the Libreoffice-commits mailing list