--- MPIWGWeb/MPIWGStaff.py 2012/03/22 13:44:54 1.10.2.84 +++ MPIWGWeb/MPIWGStaff.py 2012/03/22 13:58:50 1.10.2.85 @@ -82,7 +82,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend meta_type="MPIWGStaff" default_catalog='MembersCatalog' departmentList=departmentList - _v_cone=None; + #_v_cone=None; security=ClassSecurityInfo() def redirect(self,RESPONSE,url): @@ -329,10 +329,11 @@ class MPIWGStaff(CatalogAware,ZSQLExtend self.coneService=getattr(self, "coneServiceURL",coneService) logging.debug("coneservice:"+self.coneService) - if self._v_cone==None: + + if getattr(self,'_v_cone',None)==None: try: - self._v_cone=cone=SrvTxtUtils.getHttpData(self.coneService+self.getPersonID()) + self._v_cone=SrvTxtUtils.getHttpData(self.coneService+self.getPersonID()) #cone = urllib2.urlopen(self.coneService+self.getPersonID()) #self._v_cone=cone.read() if self._v_cone==None: