diff options
author | BonfaceKilz | 2020-08-19 02:00:11 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-08-19 02:33:46 +0300 |
commit | 06edbb8455f1e85a3818c33c4ef4d42e6a061d43 (patch) | |
tree | 2ed7a576394f46e93512815cb6b02951ac64a58e /wqflask/utility | |
parent | 4e10f4bd8fb902810ee033abb8d509ab641308e1 (diff) | |
download | genenetwork2-06edbb8455f1e85a3818c33c4ef4d42e6a061d43.tar.gz |
Wrap `map()` in a `list` call
Run `2to3-3.8 -f map -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map>
Diffstat (limited to 'wqflask/utility')
-rw-r--r-- | wqflask/utility/webqtlUtil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/webqtlUtil.py b/wqflask/utility/webqtlUtil.py index 53661ae4..79991149 100644 --- a/wqflask/utility/webqtlUtil.py +++ b/wqflask/utility/webqtlUtil.py @@ -107,7 +107,7 @@ def hasAccessToConfidentialPhenotypeTrait(privilege, userName, authorized_users) if webqtlConfig.USERDICT[privilege] > webqtlConfig.USERDICT['user']: access_to_confidential_phenotype_trait = 1 else: - AuthorizedUsersList=map(string.strip, string.split(authorized_users, ',')) + AuthorizedUsersList=list(map(string.strip, string.split(authorized_users, ','))) if AuthorizedUsersList.__contains__(userName): access_to_confidential_phenotype_trait = 1 return access_to_confidential_phenotype_trait
\ No newline at end of file |