[Zope3-checkins] CVS: Zope3/src/zope/app/event - subs.py:1.9
Gary Poster
gary@zope.com
Mon, 17 Feb 2003 13:22:03 -0500
Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv31251
Modified Files:
subs.py
Log Message:
Tabs to spaces. :-( That last check-in was a new low for me.
=== Zope3/src/zope/app/event/subs.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/event/subs.py:1.8 Thu Feb 13 22:18:03 2003
+++ Zope3/src/zope/app/event/subs.py Mon Feb 17 13:22:02 2003
@@ -514,11 +514,11 @@
else:
cleanobj = removeAllProxies(wrappedobj)
if allways:
- try:
+ try:
hub = getService(context, HubIds)
- except ComponentLookupError:
- pass
- else:
+ except ComponentLookupError:
+ pass
+ else:
try:
hubId = hub.getHubId(path)
except NotFoundError:
@@ -528,11 +528,11 @@
wrappedobj = reference
cleanobj = clean_reference
path = getPhysicalPathString(wrappedobj)
- try:
+ try:
hub = getService(context, HubIds)
- except ComponentLookupError:
- pass
- else:
+ except ComponentLookupError:
+ pass
+ else:
try:
hubId = hub.getHubId(path)
except NotFoundError: