--- MPIWGWeb/MPIWGStaff.py 2012/01/02 17:14:44 1.10.2.77 +++ MPIWGWeb/MPIWGStaff.py 2012/01/03 09:26:45 1.10.2.78 @@ -34,7 +34,7 @@ def logger(txt,method,txt2): logging.info(txt+ txt2) 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. @@ -321,9 +321,12 @@ class MPIWGStaff(CatalogAware,ZSQLExtend def getConeUrl(self): """gibt coneURL zurueck""" + + self.coneService=getattr(self, "coneServiceURL",coneService) + logging.debug("coneservice:"+self.coneService) if self._v_cone==None: try: - cone = urllib2.urlopen(coneService+self.getPersonID()) + cone = urllib2.urlopen(self.coneService+self.getPersonID()) self._v_cone=cone.read() except: return None