瀏覽代碼

Again.

tags/v0.1^2
Ben Kurtovic 12 年之前
父節點
當前提交
ec9dd7b3f4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      earwigbot/config/node.py

+ 2
- 2
earwigbot/config/node.py 查看文件

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

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

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



Loading…
取消
儲存