Skip to content

Commit

Permalink
FIX: reformat using black
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Jan 13, 2020
1 parent e12cd71 commit 85ae9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def find_root_and_group(ds):
"""Find the root and group name of a netCDF4/h5netcdf dataset."""
hierarchy = ()
while ds.parent is not None:
hierarchy = (ds.name.split('/')[-1],) + hierarchy
hierarchy = (ds.name.split("/")[-1],) + hierarchy
ds = ds.parent
group = "/" + "/".join(hierarchy)
return ds, group
Expand Down

0 comments on commit 85ae9cd

Please sign in to comment.