controller: stop catching GreenletExit

no longer necessary after the hub changes.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2013-05-08 15:24:45 +09:00 committed by FUJITA Tomonori
parent 5003c1634c
commit 359efd73aa

View File

@ -21,7 +21,6 @@ from ryu.lib import hub
from ryu.lib.hub import StreamServer
import traceback
import random
import greenlet
import ssl
import ryu.base.app_manager
@ -94,11 +93,6 @@ def _deactivate(method):
def deactivate(self):
try:
method(self)
except greenlet.GreenletExit:
pass
except:
traceback.print_exc()
raise
finally:
self.is_active = False
return deactivate