fixed minor pylint -E errors

This commit is contained in:
mdipierro
2017-07-02 01:55:51 -05:00
parent f657b42f65
commit 9ded289924
3 changed files with 10 additions and 9 deletions
+4 -5
View File
@@ -307,13 +307,13 @@ try:
except ImportError:
has_futures = False
class Future:
class Future(object):
pass
class ThreadPoolExecutor:
class ThreadPoolExecutor(object):
pass
class _WorkItem:
class _WorkItem(object):
pass
@@ -784,8 +784,7 @@ class Rocket(object):
the application developer. Please update your \
applications to no longer call rocket.stop(True)"
try:
import warnings
raise warnings.DeprecationWarning(msg)
raise DeprecationWarning(msg)
except ImportError:
raise RuntimeError(msg)