Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed May 1, 2019
1 parent 42c93ef commit 3d6236d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OFS/Application.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##############################################################################
#
# Copyright (c) 2002 Zope Foundation and Contributors.
# Copyright (c) 2002 Zope Foundation and Contributors.rp
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
Expand Down Expand Up @@ -111,7 +111,7 @@ def Redirect(self, destination, URL1):
def __bobo_traverse__(self, REQUEST, name=None):
if name is None:
# Make this more explicit, otherwise getattr(self, name)
# would raise a TypeErorr getattr(): attribute name must be string
# would raise a TypeError getattr(): attribute name must be string
return None

if name == 'Control_Panel':
Expand All @@ -131,7 +131,7 @@ def __bobo_traverse__(self, REQUEST, name=None):
return NullResource(self, name, REQUEST).__of__(self)

# Waaa. unrestrictedTraverse calls us with a fake REQUEST.
# There is proabably a better fix for this.
# There is probably a better fix for this.
try:
REQUEST.RESPONSE.notFoundError("%s\n%s" % (name, method))
except AttributeError:
Expand Down

0 comments on commit 3d6236d

Please sign in to comment.