From 816d7394d33a1c050749ebae612f5fc2abded05f Mon Sep 17 00:00:00 2001 From: svalouch Date: Wed, 11 Dec 2019 07:24:11 +0100 Subject: [PATCH] fix flake8 findings --- src/simplezfs/zfs.py | 2 +- src/simplezfs/zpool_native.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simplezfs/zfs.py b/src/simplezfs/zfs.py index d013b7b..fc14f31 100644 --- a/src/simplezfs/zfs.py +++ b/src/simplezfs/zfs.py @@ -159,7 +159,7 @@ class ZFS: :raises DatasetNotFound: if the fileset could not be found. :raises ValidationError: if validating the parameters failed. ''' - real_use_pe_helper = use_pe_helper if use_pe_helper is not None else self.use_pe_helper + # real_use_pe_helper = use_pe_helper if use_pe_helper is not None else self.use_pe_helper raise NotImplementedError(f'not implemented yet') def set_property(self, dataset: str, key: str, value: str, *, metadata: bool = False, overwrite_metadata_namespace: Optional[str] = None) -> None: diff --git a/src/simplezfs/zpool_native.py b/src/simplezfs/zpool_native.py index 3f1603e..3940dcf 100644 --- a/src/simplezfs/zpool_native.py +++ b/src/simplezfs/zpool_native.py @@ -10,5 +10,5 @@ from .zpool import ZPool class ZPoolNative(ZPool): def __init__(self, *, metadata_namespace: Optional[str] = None, pe_helper: Optional[str] = None, - use_pe_helper: bool = False, **kwargs) -> None: + use_pe_helper: bool = False, **kwargs) -> None: super().__init__(metadata_namespace=metadata_namespace, pe_helper=pe_helper, use_pe_helper=use_pe_helper)