version 1.10.2.77, 2012/01/02 17:14:44
|
version 1.10.2.78, 2012/01/03 09:26:45
|
Line 34 def logger(txt,method,txt2):
|
Line 34 def logger(txt,method,txt2):
|
logging.info(txt+ txt2) |
logging.info(txt+ txt2) |
|
|
departmentList="Renn\nRheinberger\nDaston\nKlein\nSibum\nIT\nInstitut\nBibliothek" |
departmentList="Renn\nRheinberger\nDaston\nKlein\nSibum\nIT\nInstitut\nBibliothek" |
coneService="http://127.0.0.1:8280/MetaDataManagerRestlet/cone/" |
coneService="http://127.0.0.1:8280/MetaDataManagerRestlet/cone/" # kann in MPIWGRoot konfiguriert werden. |
|
|
|
|
|
|
Line 321 class MPIWGStaff(CatalogAware,ZSQLExtend
|
Line 321 class MPIWGStaff(CatalogAware,ZSQLExtend
|
|
|
def getConeUrl(self): |
def getConeUrl(self): |
"""gibt coneURL zurueck""" |
"""gibt coneURL zurueck""" |
|
|
|
self.coneService=getattr(self, "coneServiceURL",coneService) |
|
logging.debug("coneservice:"+self.coneService) |
if self._v_cone==None: |
if self._v_cone==None: |
try: |
try: |
cone = urllib2.urlopen(coneService+self.getPersonID()) |
cone = urllib2.urlopen(self.coneService+self.getPersonID()) |
self._v_cone=cone.read() |
self._v_cone=cone.read() |
except: |
except: |
return None |
return None |