Changeset 7305
- Timestamp:
- 04/03/09 10:14:52 (3 years ago)
- File:
-
- 1 edited
-
contributed/trunk/dail/dail.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contributed/trunk/dail/dail.py
r7304 r7305 1 1 # ---------------------------------------------------------------------- 2 # The dacheAdminInterfaceLib V0. 12 # The dacheAdminInterfaceLib V0.2 03.04.2009 3 3 # 4 4 # Copyright (c) 2009 DESY IT (Sven Sternberger) … … 23 23 # real world production system. 24 24 #----------------------------------------------------------------------- 25 # 0.2 - Empty results set causes endlless loop 26 # 27 #----------------------------------------------------------------------- 25 28 26 29 from org.pcells.services.connection import * … … 39 42 40 43 def save(self,id,obj): 44 if DEBUG: print "Save ID: %d" % id 41 45 self.storeHash[id]=obj 42 46 … … 46 50 else: 47 51 return False 52 53 def check(self,id): 54 return self.storeHash.has_key(id) 48 55 49 56 … … 117 124 while not self.MyDomainEventListener.activ: 118 125 pass 119 126 127 if DEBUG: 128 print "CELL: %s, CMD: %s" % (domain,cmd) 129 120 130 self.queryId=self.MyDomainEventListener._sendObject(domain,cmd) 121 131 122 while not self.myStore. retrieve(self.queryId):132 while not self.myStore.check(self.queryId): 123 133 pass 124 134
Note: See TracChangeset
for help on using the changeset viewer.
