Skip to content

Commit a95ae1a

Browse files
committed
Merge branch 'Git' of https://github.com/sassoftware/python-sasctl into Git
2 parents 60a42a8 + d54f034 commit a95ae1a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/sasctl/pzmm/gitIntegration.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def getZippedModel(model, gPath, project=None):
6464

6565
return modelName, projectName
6666

67-
6867
def project_exists(response, project):
6968
"""Checks if project exists on SAS Viya. If the project does not exist, then a new
7069
project is created or an error is raised.
@@ -352,7 +351,6 @@ def pullMMProject(cls, gPath, project):
352351
projectResponse = mr.get_project(project)
353352
project = project_exists(projectResponse, project)
354353
projectName = project.name
355-
356354
# Check if project exists in git path and create it if it does not
357355
pPath = Path(gPath) / projectName
358356
if not pPath.exists():
@@ -370,7 +368,6 @@ def pullMMProject(cls, gPath, project):
370368
for model in modelResponse:
371369
modelNames.append(model.name)
372370
modelId.append(model.id)
373-
374371
# For each model, search for an appropriate model directory in the project directory and pull down the model
375372
for name, id in zip(modelNames, modelId):
376373
mPath = pPath / name

0 commit comments

Comments
 (0)