[Bio] / ModelEditor / MeSharedEditServer.py Repository:
ViewVC logotype

Diff of /ModelEditor/MeSharedEditServer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Sat Oct 23 18:55:47 2004 UTC revision 1.2, Thu Nov 11 20:59:45 2004 UTC
# Line 132  Line 132 
132    
133      global __server, __clipboard, __nCb, __serverThread, __cbLock      global __server, __clipboard, __nCb, __serverThread, __cbLock
134    
135      print "local trying for ", id      #print "local trying for ", id
136      __cbLock.acquire()      __cbLock.acquire()
137      try:      try:
138          print "sending "          #print "sending "
139          __clipboard[id].dump()          __clipboard[id].dump()
140          re = copy.deepcopy( __clipboard[id] )          re = copy.deepcopy( __clipboard[id] )
141      except Exception, e:      except Exception, e:
# Line 156  Line 156 
156          print "trying for id ", id          print "trying for id ", id
157          __cbLock.acquire()          __cbLock.acquire()
158          re = __clipboard[id]          re = __clipboard[id]
159          print "sending re: "          #print "sending re: "
160          re.dump()          #re.dump()
161          mgr = ConversionManager (XmlRpcConverter(), debug=1)          mgr = ConversionManager (XmlRpcConverter(), debug=1)
162          c = mgr.output(re)          c = mgr.output(re)
163          print "rep is ", c          #print "rep is ", c
164          __cbLock.release()          __cbLock.release()
165          cRe = xmlrpclib.dumps((c,))          cRe = xmlrpclib.dumps((c,))
166          print "dumps is ", cRe          #print "dumps is ", cRe
167      except Exception, e:      except Exception, e:
168          __cbLock.release()          __cbLock.release()
169          print e          print e

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3