aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-05-19 09:32:47 -0500
committerAndy Doan <andy.doan@linaro.org>2015-05-19 09:32:47 -0500
commit6cfc97e9b15a4d8fc2542aebf2ce922a94e86fe1 (patch)
tree39ca34c641e01386e29f8b681dc98f4f51f44108
parent46916ad7f4290329a12619eb6d4fa17e111bbda8 (diff)
bug #1568 - fix typo from refactor
Fixing in production asap. need to figure out how to properly unit test for this (probably requires some some mocking) Change-Id: I3d8de115c1c001b8fe89f7232750c6f2cb97e9df
-rw-r--r--license_protected_downloads/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/license_protected_downloads/views.py b/license_protected_downloads/views.py
index ec5b6c2..83a3859 100644
--- a/license_protected_downloads/views.py
+++ b/license_protected_downloads/views.py
@@ -248,7 +248,7 @@ def _check_build_info(request, path):
auth_groups = build_info.get('auth-groups')
if auth_groups:
- auth_groups = [x.split for x in auth_groups.split(',')]
+ auth_groups = [x.strip() for x in auth_groups.split(',')]
log.info('Checking membership in auth groups: %s', auth_groups)
response = False
try: