diff --git a/src/xtgeo/well/blocked_wells.py b/src/xtgeo/well/blocked_wells.py index ab025febc..bf1fe0cd1 100644 --- a/src/xtgeo/well/blocked_wells.py +++ b/src/xtgeo/well/blocked_wells.py @@ -114,7 +114,7 @@ def _from_roxar(self, *args, **kwargs): # pragma: no cover project = args[0] gname = args[1] bwname = args[2] - lognames = kwargs.get("lognames", None) + lognames = kwargs.get("lognames") ijk = kwargs.get("ijk", True) _blockedwells_roxapi.import_bwells_roxapi( diff --git a/src/xtgeo/well/well1.py b/src/xtgeo/well/well1.py index c35a4fd17..578448d4f 100644 --- a/src/xtgeo/well/well1.py +++ b/src/xtgeo/well/well1.py @@ -703,7 +703,7 @@ def to_roxar(self, *args, **kwargs): trajectory = kwargs.get("trajectory", "Drilled trajectory") logrun = kwargs.get("logrun", "log") realisation = kwargs.get("realisation", 0) - update_option = kwargs.get("update_option", None) + update_option = kwargs.get("update_option") logger.debug("Not in use: realisation %s", realisation) diff --git a/src/xtgeo/xyz/_xyz_io.py b/src/xtgeo/xyz/_xyz_io.py index bfee3e9c3..c8cbea854 100644 --- a/src/xtgeo/xyz/_xyz_io.py +++ b/src/xtgeo/xyz/_xyz_io.py @@ -214,7 +214,7 @@ def to_file( KeyError if pfilter is set and key(s) are invalid """ - filter_deprecated = kwargs.get("filter", None) + filter_deprecated = kwargs.get("filter") if filter_deprecated is not None and pfilter is None: pfilter = filter_deprecated