Skip to content
forked from pydata/xarray

Commit

Permalink
Update xarray/core/dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Feb 12, 2021
1 parent 4c031b6 commit fc9be4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2995,7 +2995,7 @@ def _rename_dims(self, name_dict):

def _rename_indexes(self, name_dict, dims_set):
if self._indexes is None:
return {}
return None
indexes = {}
for k, v in self.indexes.items():
new_name = name_dict.get(k, k)
Expand Down

0 comments on commit fc9be4e

Please sign in to comment.