Skip to content

Commit 549c2fd

Browse files
committed
fixup: check_consistency is a static method
1 parent b973cac commit 549c2fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ncwriter/template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def check_var(cls, vardict, name=None):
174174
ValueError(
175175
"Type for %s should be a string or type object" % name)
176176

177-
@classmethod
178-
def check_consistency(self, dimdict, vdict):
177+
@staticmethod
178+
def check_consistency(dimdict, vdict):
179179
"""Check that all dimensions referenced by variables in :vdict: are defined in the :dimdict:"""
180180
alldims = dimdict.keys()
181181
allvars = vdict.keys()

0 commit comments

Comments
 (0)