File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 55#
66# The full license is in the file LICENSE, distributed with this software.
77# -----------------------------------------------------------------------------
8- import warnings
98
10- from tornado .escape import json_decode
119
1210from qiita_db .handlers .oauth2 import authenticate_oauth
13- from qiita_db .study import StudyPerson , Study
14- from qiita_db .user import User
1511from .rest_handler import RESTHandler
16- from qiita_db .metadata_template .constants import SAMPLE_TEMPLATE_COLUMNS
1712
1813
1914# terms used more than once
Original file line number Diff line number Diff line change 1010
1111from tornado .escape import json_decode
1212
13- from qiita_db .study import Study
1413from qiita_pet .test .rest .test_base import RESTHandlerTestCase
1514
1615
@@ -152,11 +151,11 @@ def test_get_valid(self):
152151 def _process_dict (d ):
153152 return [(d , k ) for k in d ]
154153
155- def _process_list (l ):
156- if l is None :
154+ def _process_list (list_ ):
155+ if list_ is None :
157156 return []
158157
159- return [dk for d in l
158+ return [dk for d in list_
160159 for dk in _process_dict (d )]
161160
162161 stack = _process_dict (obs )
You can’t perform that action at this time.
0 commit comments