def run(self):
     try:
         return Greenlet.run(self)
     finally:
         # XXX why is this necessary?
         self.switch_out()
示例#2
0
 def run(self):
     try:
         return Greenlet.run(self)
     finally:
         # Make sure to restore the originals.
         self.switch_out()
示例#3
0
 def run(self):
     try:
         return Greenlet.run(self)
     finally:
         # XXX why is this necessary?
         self.switch_out()
示例#4
0
文件: task.py 项目: HarryR/kitsh
 def run(self):
     try:
         return Greenlet.run(self)
     finally:
         # Make sure to restore the originals.
         self.switch_out()