Skip to content

Commit

Permalink
Update datasets.py
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
  • Loading branch information
pem70 committed Jun 14, 2024
1 parent 78a7eaa commit 911b041
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,6 @@ def like(self) -> Optional[str]:
def to_dict(self) -> dict:
return {key.replace("_DatasetOption__", ""): value for key, value in self.__dict__.items() if value is not None}

def check_dirblock(self) -> bool:

if self.dsorg == "PS":
if self.dirblk != 0:
raise ValueError
elif self.dsorg == "PO":
if self.dirblk == 0:
raise ValueError


class Datasets(SdkApi):
"""
Expand Down

0 comments on commit 911b041

Please sign in to comment.