Skip to content
Snippets Groups Projects
Commit 09ad0d70 authored by mads's avatar mads
Browse files

changed __getattribute__ to __getattr__

parent 493f4bd0
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ def fmt_value(v): ...@@ -41,7 +41,7 @@ def fmt_value(v):
return float(v) return float(v)
except ValueError: except ValueError:
return v return v
c = 0
class HTCContents(object): class HTCContents(object):
lines = [] lines = []
contents = None contents = None
...@@ -63,7 +63,7 @@ class HTCContents(object): ...@@ -63,7 +63,7 @@ class HTCContents(object):
else: else:
return self.values[key] return self.values[key]
def __getattribute__(self, *args, **kwargs): def __getattr__(self, *args, **kwargs):
try: try:
return object.__getattribute__(self, *args, **kwargs) return object.__getattribute__(self, *args, **kwargs)
except: except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment