r47287 - review comments

hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sun, 17 Apr 2016 08:06:40 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: hawkowl
Date: Sun Apr 17 08:06:35 2016
New Revision: 47287

Modified:
   branches/reactor-app-py3-8299/twisted/plugins/twisted_reactors.py

Log:
review comments

Modified: branches/reactor-app-py3-8299/twisted/plugins/twisted_reactors.py
==============================================================================
--- branches/reactor-app-py3-8299/twisted/plugins/twisted_reactors.py	(original)
+++ branches/reactor-app-py3-8299/twisted/plugins/twisted_reactors.py	Sun Apr 17 08:06:35 2016
@@ -21,8 +21,11 @@
 kqueue = Reactor(
     'kqueue', 'twisted.internet.kqreactor', 'kqueue(2)-based reactor.')
 
-if not _PY3:
+__all__ = [
+    "default", "select", "poll", "epoll", "kqueue"
+]
 
+if not _PY3:
     wx = Reactor(
         'wx', 'twisted.internet.wxreactor', 'wxPython integration reactor.')
     gi = Reactor(
@@ -48,12 +51,6 @@
         'iocp', 'twisted.internet.iocpreactor',
         'Win32 IO Completion Ports-based reactor.')
 
-if _PY3:
-    __all__ = [
-        "default", "select", "poll", "epoll", "kqueue"
-    ]
-else:
-    __all__ = [
-        "default", "select", "wx", "gi", "gtk2", "gtk3", "glib2", "glade",
-        "win32er", "poll", "epoll", "cf", "kqueue", "iocp"
-    ]
+    __all__.extend([
+        "wx", "gi", "gtk2", "gtk3", "glib2", "glade", "win32er", "cf", "iocp"
+    ])