runtornado.py: Ignore due to incorrect stubs.

This commit is contained in:
Eklavya Sharma 2016-07-05 08:27:03 +05:30 committed by Tim Abbott
parent 6fd8906358
commit 83640ed0cd
2 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,6 @@ exclude_py2 = []
exclude_py3 = """
zerver/lib/ccache.py
zerver/management/commands/runtornado.py
zerver/tests/test_i18n.py
zerver/views/messages.py
zerver/views/webhooks/beanstalk.py

View File

@ -60,8 +60,8 @@ class Command(BaseCommand):
def handle(self, addrport, **options):
# type: (str, **bool) -> None
# setup unbuffered I/O
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0)
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) # type: ignore # https://github.com/python/typeshed/pull/337
sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0) # type: ignore # https://github.com/python/typeshed/pull/337
interactive_debug_listen()
import django