E&S CVS Commit: pylib - Fixed a minor issue in RegistryBuilder: valFunc wasn't being used to

pje at eby-sarna.com pje at eby-sarna.com
Wed Oct 24 15:44:00 EDT 2001


Module Name:	pylib
Committed By:	pje
Date:		Wed Oct 24 19:43:41 UTC 2001

Modified Files:
	pylib/TW: Builders.py
	pylib/TW/XMI: Reading.py

Log Message:
Fixed a minor issue in RegistryBuilder: valFunc wasn't being used to
combine entries from base classes.  Unfortunately, the way the API is now
arranged, making set/sequence registries, especially ones that remap the
original objects in some way, may be tricky.  Perhaps I should separate
the valFunc parameter into a convertFunc and updateFunc, and use the former
for populating new items and the latter for updating the registry itself.
Ah well, I'll see if it's needed first.  "YAGNI"...


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/Builders.py.diff?r1=1.11&r2=1.12
http://cvs.eby-sarna.com/pylib/TW/XMI/Reading.py.diff?r1=1.8&r2=1.9

To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 pylib/TW/Builders.py
cvs rdiff -r1.8 -r1.9 pylib/TW/XMI/Reading.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.





More information about the source-changes mailing list