Make zproject/urls.py pass mypy check.

This commit is contained in:
Eklavya Sharma 2016-05-23 20:02:54 +05:30 committed by Tim Abbott
parent 1c04560def
commit ea52fc05ed
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ docs/conf.py
tools/deprecated/ tools/deprecated/
zproject/settings.py zproject/settings.py
zproject/test_settings.py zproject/test_settings.py
zproject/urls.py
zerver/management/commands/makemessages.py zerver/management/commands/makemessages.py
zerver/migrations/ zerver/migrations/
zerver/tests/ zerver/tests/

View File

@ -90,8 +90,7 @@ i18n_urls = [
url(r'^features/$', TemplateView.as_view(template_name='zerver/features.html')), url(r'^features/$', TemplateView.as_view(template_name='zerver/features.html')),
] ]
urlpatterns = [] urlpatterns = patterns('', *i18n_urls)
urlpatterns += patterns('', *i18n_urls)
# These are used for voyager development. On a real voyager instance, # These are used for voyager development. On a real voyager instance,
# these files would be served by nginx. # these files would be served by nginx.