Skip to content

Commit 2b08035

Browse files
committed
make method static
1 parent 4a046cb commit 2b08035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiita_client/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def __init__(self, name, description, function, required_parameters,
100100
self.outputs = outputs
101101
self.analysis_only = analysis_only
102102

103+
@staticmethod
103104
def _push_artifacts_files_to_central(qclient, artifacts):
104105
"""Pushes all files of a list of artifacts to BASE_DATA_DIR.
105106
@@ -136,8 +137,7 @@ def __call__(self, qclient, server_url, job_id, output_dir):
136137
isinstance(results[0], bool) and \
137138
isinstance(results[1], list) and \
138139
isinstance(results[2], str):
139-
results[1] = QiitaCommand._push_artifacts_files_to_central(
140-
qclient, results[1])
140+
QiitaCommand._push_artifacts_files_to_central(qclient, results[1])
141141
return results
142142

143143

0 commit comments

Comments
 (0)