Exemplo n.º 1
0
 def waitclose(self):
     first = None
     for ch in self._channels:
         try:
             ch.waitclose()
         except ch.RemoteError:
             if first is None:
                 first = sys.exc_info()
     if first:
         reraise(*first)
Exemplo n.º 2
0
 def waitclose(self):
     first = None
     for ch in self._channels:
         try:
             ch.waitclose()
         except ch.RemoteError:
             if first is None:
                 first = sys.exc_info()
     if first:
         reraise(*first)