E&S CVS Commit: PEAK - Migrated 'config.IStreamSource' -> 'config.getStreamFactory'. To update
pje at eby-sarna.com
pje at eby-sarna.com
Fri Nov 12 13:22:00 EST 2004
Module Name: PEAK
Committed By: pje
Date: Fri Nov 12 18:21:11 UTC 2004
Modified Files:
PEAK: CHANGES.txt
PEAK/src/peak/config: config_components.py ini_files.py interfaces.py
load_zconfig.py
PEAK/src/peak/running: clusters.py
PEAK/src/peak/tools/n2: commands.py
Log Message:
Migrated 'config.IStreamSource' -> 'config.getStreamFactory'. To update
your code, change all:
factory = config.IStreamSource(source).getFactory(context)
to:
factory = config.getStreamFactory(context,source)
Note that 'context' comes *before* 'source' in the argument list, so this
now matches the normal order for PEAK API's that take a context parameter.
Also, if you had an implementation or adapter for IStreamSource, you'll
need to replace it with a 'config.getStreamFactory.when()' method.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.157&r2=1.158
http://cvs.eby-sarna.com/PEAK/src/peak/config/config_components.py.diff?r1=1.90&r2=1.91
http://cvs.eby-sarna.com/PEAK/src/peak/config/ini_files.py.diff?r1=1.11&r2=1.12
http://cvs.eby-sarna.com/PEAK/src/peak/config/interfaces.py.diff?r1=1.39&r2=1.40
http://cvs.eby-sarna.com/PEAK/src/peak/config/load_zconfig.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/running/clusters.py.diff?r1=1.14&r2=1.15
http://cvs.eby-sarna.com/PEAK/src/peak/tools/n2/commands.py.diff?r1=1.2&r2=1.3
To generate a diff of this commit:
cvs rdiff -r1.157 -r1.158 PEAK/CHANGES.txt
cvs rdiff -r1.90 -r1.91 PEAK/src/peak/config/config_components.py
cvs rdiff -r1.11 -r1.12 PEAK/src/peak/config/ini_files.py
cvs rdiff -r1.39 -r1.40 PEAK/src/peak/config/interfaces.py
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/config/load_zconfig.py
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/running/clusters.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/tools/n2/commands.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