Commit c5fa3062 authored by PIOLLE's avatar PIOLLE
Browse files

fixed bad method call in Field.rename

parent e198232c
......@@ -830,7 +830,7 @@ class Field(object):
if self.dataset is not None:
if not in self.dataset.fieldnames:
raise ValueError("Field {} not existing".format(
self.dataset.rename({ newname})
self.dataset.rename_field({ newname}) = newname
def __add__(self, other: 'Field') -> 'Field':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment