Anonymous avatar Anonymous committed bb71322

small clean-up

Comments (0)

Files changed (2)

 2008-03-21  Sebastien Binet  <binet@lblbox>
 
+	* tagging StoreGateBindings-00-01-01
+	* small clean-up
+	* M python/Bindings.py
+
 	* tagging StoreGateBindings-00-01-00
 	* speed-optimizations of py-retrieve and py-record
 	* M python/Bindings.py

python/Bindings.py

 # @author: Sebastien Binet <binet@cern.ch>
 
 ### data
-__version__ = "$Revision: 1.2 $"
+__version__ = "$Revision: 1.3 $"
 __author__  = """
 Wim Lavrijsen (WLavrijsen@lbl.gov),
 Sebastien Binet (binet@cern.ch)
     StoreGateSvc = PyCintex.gbl.StoreGateSvc
     StoreGate    = PyCintex.gbl.StoreGate
 
-    from AthenaPython.Pythonizations import py_svc
-
-    @memoize
-    def _get_klass_infos(klass):
-        if isinstance(klass, str):
-            klass = PyCintex.makeClass(klass)
-        klassname = klass.__class__.__name__
-        if klassname.endswith('_meta'): klassname = klassname[:-5]
-        clidSvc = py_svc('ClassIDSvc', iface='IClassIDSvc')
-        clid = clidSvc.clid(klassname)
-        tname= clidSvc.typename(clid)
-        return clid, tname
-
-    # caching
-    _makeNullPtr = PyCintex.libPyROOT.MakeNullPointer
-    
     # add specialized retrieve method
     def retrieve( self, klass, key = None ):
         return py_retrieve( self, klass, key )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.