Skip to content

Commit

Permalink
:fix: missing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdd committed Jun 16, 2016
1 parent ebbc86f commit 2303f45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
# built documents.
#
# The short X.Y version.
version = u'0.12'
version = u'0.13'
# The full version, including alpha/beta/rc tags.
release = u'0.12'
release = u'0.13'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion link/middleware/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-

__version__ = '0.12'
__version__ = '0.13'

CONF_BASE_PATH = 'link/middleware'
3 changes: 3 additions & 0 deletions link/middleware/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ def get_middleware_by_uri(uri, cache=True):
)
)

else:
cls = classes[0]

netloc = parseduri.netloc.split('@', 1)

if len(netloc) == 2:
Expand Down

0 comments on commit 2303f45

Please sign in to comment.