Skip to content

Commit 347fa3a

Browse files
committed
fixed for py27
1 parent e4909c9 commit 347fa3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def register_model(model, name, project, repository=None, input=None,
193193
assert isinstance(model, dict)
194194

195195
if create_project:
196-
vars = model.get('inputVariables', []).copy()
196+
vars = model.get('inputVariables', [])[:]
197197
vars += model.get('outputVariables', [])
198198

199199
if model.get('function') == 'Regression':

0 commit comments

Comments
 (0)