root/scripts/lib/util.py @ 85
1 |
# Useful functions and classes
|
---|---|
2 |
|
3 |
class Obj: |
4 |
def __init__(self, **attrs): self.__dict__ = attrs |
5 |
|
6 |
def __repr__(self): return repr(self.__dict__) |