sandman
sandman copied to clipboard
NameError NameError: global name '__from_class__' is not defined
I am getting an error from the meta(cls)
method in models.py
Will give a PR shortly
So I will ghet up to speed with waffles.io and not really much of a Python tester (yet!) .
her are my code changes which fix the problem:
from:
163 if __from_class__i:
164 cls = self.__from_class__
to:
163 try:
164 __from_class__
165 except NameError:
166 print "__from_class__ not defined"
167 else:
168 cls = self.__from_class__
Looks like this is fixed in the current release not in the pip install version
Can you please give the full traceback of the error you're seeing, as well as the output of sandmanctl --version
?