Merge "Tiny improvement of efficient"

This commit is contained in:
Jenkins 2015-03-09 14:28:42 +00:00 committed by Gerrit Code Review
commit 125f339c9b

View File

@ -166,7 +166,7 @@ class Controller(rest.RestController):
return V1.convert()
def _check_version(self, version, headers=None):
if not headers:
if headers is None:
headers = {}
# ensure that major version in the URL matches the header
if version.major != BASE_VERSION: