Commit e198232c authored by PIOLLE's avatar PIOLLE
Browse files

replaced v1 method call with v2 name

parent 8dd79369
...@@ -828,7 +828,7 @@ class Field(object): ...@@ -828,7 +828,7 @@ class Field(object):
""" """
if self.dataset is not None: if self.dataset is not None:
if not in self.dataset.get_fieldnames(): if not in self.dataset.fieldnames:
raise ValueError("Field {} not existing".format( raise ValueError("Field {} not existing".format(
self.dataset.rename({ newname}) self.dataset.rename({ newname}) = newname = newname
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