Browse Source

Again.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
ec9dd7b3f4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      earwigbot/config/node.py

+ 2
- 2
earwigbot/config/node.py View File

@@ -43,12 +43,12 @@ class ConfigNode(object):


def __getattr__(self, key): def __getattr__(self, key):
if key == "_data": if key == "_data":
return super(ConfigNode, self)__getattr__(key)
return super(ConfigNode, self).__getattr__(key)
return self._data[key] return self._data[key]


def __setattr__(self, key, item): def __setattr__(self, key, item):
if key == "_data": if key == "_data":
super(ConfigNode, self)__setattr__(key, item)
super(ConfigNode, self).__setattr__(key, item)
else: else:
self._data[key] = item self._data[key] = item




Loading…
Cancel
Save