[Zope3-checkins] CVS: Zope3/src/zope/app/services - hub.py:1.15
Steve Alexander
steve@cat-box.net
Sat, 7 Jun 2003 05:56:20 -0400
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv31616/src/zope/app/services
Modified Files:
hub.py
Log Message:
Removed XXX comment and unncessary code now that other code is available.
=== Zope3/src/zope/app/services/hub.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/services/hub.py:1.14 Sat Jun 7 03:23:52 2003
+++ Zope3/src/zope/app/services/hub.py Sat Jun 7 05:56:19 2003
@@ -276,10 +276,6 @@
pathslash = canonicalSlash(path)
- # XXX This check should be done by canonicalPath, but Albert is still
- # refactoring that. So, I'll do it here for now.
- if not pathslash.startswith(u'/'):
- raise ValueError('Path must be absolute, not relative:', path)
path_to_hubid = clean_self.__path_to_hubid
if path_to_hubid.has_key(pathslash):
raise ObjectHubError('path %s already in object hub' % path)