Revision 264bb3c5 lib/objects.py
b/lib/objects.py | ||
---|---|---|
100 | 100 |
cls = Node |
101 | 101 |
elif name == "Cluster": |
102 | 102 |
cls = Cluster |
103 |
elif module == "__builtin__": |
|
104 |
if name == "set": |
|
105 |
cls = set |
|
103 | 106 |
if cls is None: |
104 | 107 |
raise cPickle.UnpicklingError, ("Class %s.%s not allowed due to" |
105 | 108 |
" security concerns" % (module, name)) |
... | ... | |
140 | 143 |
|
141 | 144 |
class ConfigData(ConfigObject): |
142 | 145 |
"""Top-level config object.""" |
143 |
__slots__ = ["cluster", "nodes", "instances"] |
|
146 |
__slots__ = ["cluster", "nodes", "instances", "tcpudp_port_pool"]
|
|
144 | 147 |
|
145 | 148 |
|
146 | 149 |
class NIC(ConfigObject): |
Also available in: Unified diff