Skip to content

Commit

Permalink
fix: fixed a cut and paste clearly gone wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
marianne013 committed Jul 31, 2023
1 parent 53671db commit 8208dda
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def export_getTransformationParameters(self, transName, parameters):
types_getTransformationWithStatus = [[str, list, tuple]]

def export_getTransformationWithStatus(self, status):
if not self.checkPermissions(transName):
return S_ERROR("You do not have permissions for this Transformation")
return self.transformationDB.getTransformationWithStatus(status)

####################################################################
Expand Down Expand Up @@ -299,8 +297,6 @@ def export_getTransformationFiles(
limit=None,
offset=None,
):
if not self.checkPermissions(transName):
return S_ERROR("You do not have permissions for this Transformation")
if not condDict:
condDict = {}
return self.transformationDB.getTransformationFiles(
Expand Down

0 comments on commit 8208dda

Please sign in to comment.