diff --git a/xbout/load.py b/xbout/load.py index 1d9d4d94..6a8effd2 100644 --- a/xbout/load.py +++ b/xbout/load.py @@ -242,7 +242,7 @@ def attrs_remove_section(obj, section): # If geometry was set, apply geometry again if geometry is not None: - if "geometry" != ds.attrs.get("geometry", None): + if geometry != ds.attrs.get("geometry", None): warn( f'open_boutdataset() called with geometry="{geometry}", but we are ' f"reloading a Dataset that was saved after being loaded with " diff --git a/xbout/xarraybackend.py b/xbout/xarraybackend.py index 38f4d65c..6a9644c5 100644 --- a/xbout/xarraybackend.py +++ b/xbout/xarraybackend.py @@ -1,6 +1,6 @@ """License: - Distributed under the OSI-approved Apache License, Version 2.0. See - accompanying file Copyright.txt for details. +Distributed under the OSI-approved Apache License, Version 2.0. See +accompanying file Copyright.txt for details. """ from __future__ import annotations