| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
ConfigMerger
| Method Summary | |
|---|---|
| __init__(self,
resolver)
Initialise an instance. | |
| handleMismatch(self,
obj1,
obj2)
Handle a mismatch between two objects. | |
| merge(self,
merged,
mergee)
Merge two configurations. | |
| mergeMapping(self,
map1,
map2)
Merge two mappings recursively. | |
| mergeSequence(self,
seq1,
seq2)
Merge two sequences. | |
| Inherited from object | |
| __delattr__(...)
x.__delattr__('name') <==> del x.name | |
| __getattribute__(...)
x.__getattribute__('name') <==> x.name | |
| __hash__(x)
Return hash(x)... | |
| __new__(T,
S,
...)
Return a new object with type S, a subtype of T... | |
| __reduce__(...)
helper for pickle | |
| __reduce_ex__(...)
helper for pickle | |
| __repr__(x)
Return repr(x)... | |
| __setattr__(...)
x.__setattr__('name', value) <==> x.name = value | |
| __str__(x)
Return str(x)... | |
| Method Details |
|---|
__init__(self,
resolver=<function defaultMergeResolve at 0x00A0F030>)
Initialise an instance.
|
handleMismatch(self, obj1, obj2)Handle a mismatch between two objects.
|
merge(self, merged, mergee)Merge two configurations. The second configuration is unchanged, and the first is changed to reflect the results of the merge. |
mergeMapping(self, map1, map2)Merge two mappings recursively. The second mapping is unchanged, and the first is changed to reflect the results of the merge. |
mergeSequence(self, seq1, seq2)Merge two sequences. The second sequence is unchanged, and the first is changed to have the elements of the second appended to it. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Mar 03 20:02:20 2010 | http://epydoc.sf.net |