Guest User

Untitled

a guest
Jul 17th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. _locals = locals()
  2. for _vlaah_attr in "pluses", "minuses":
  3. _locals[_vlaah_attr] = property(
  4. lambda self: getattr(self.vlaah_topic, _vlaah_attr)
  5. )
  6. del _locals, _vlaah_attr
  7.  
  8.  
  9.  
  10. File "sasha/model/entity.py", line 132, in <lambda>
  11. lambda self: getattr(self.vlaah_topic, _vlaah_attr)
  12. NameError: global name '_vlaah_attr' is not defined
Add Comment
Please, Sign In to add comment