E&S CVS Commit: PEAK - Fixed 'SimpleLocation' returning 'NOT_ALLOWED' when something's really

pje at eby-sarna.com pje at eby-sarna.com
Sun Jul 13 10:24:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sun Jul 13 14:23:03 UTC 2003

Modified Files:
	PEAK/src/peak/web: places.py

Log Message:
Fixed 'SimpleLocation' returning 'NOT_ALLOWED' when something's really
'NOT_FOUND'.  (Note that this potentially exposes the existence/nonexistence
of a location, but the correct place to deal with this is in the
Interaction class' 'notAllowed()' method, which can simply do the same as
'notFound()', if desired.  Locations shouldn't encode this kind of policy,
or they won't be reusable.)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/web/places.py.diff?r1=1.4&r2=1.5

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/web/places.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