Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
d810bacf
Commit
d810bacf
authored
Feb 05, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve exception messages for resources that cannot be opened
parent
a3d9dfd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
doc/ZConfig/zconfig.tex
doc/ZConfig/zconfig.tex
+7
-1
No files found.
doc/ZConfig/zconfig.tex
View file @
d810bacf
...
...
@@ -1423,6 +1423,11 @@ The following method must be overridden by subclasses:
The following methods can be used as utilities:
\begin
{
methoddesc
}
[
loader
]
{
isPath
}{
s
}
Return true if
\var
{
s
}
should be considered a filesystem path rather
than a URL.
\end
{
methoddesc
}
\begin
{
methoddesc
}
[
loader
]
{
normalizeURL
}{
url
-
or
-
path
}
Return a URL for
\var
{
url
-
or
-
path
}
. If
\var
{
url
-
or
-
path
}
refers to
an existing file, the corresponding
\code
{
file:
}
URL is returned.
...
...
@@ -1436,7 +1441,8 @@ The following methods can be used as utilities:
Returns a resource object that represents the URL
\var
{
url
}
. The
URL is opened using the
\function
{
urllib
2
.urlopen
()
}
function, and
the returned resource object is created using
\method
{
createResource
()
}
.
\method
{
createResource
()
}
. If the URL cannot be opened,
\exception
{
ConfigurationError
}
is raised.
\end
{
methoddesc
}
\begin
{
methoddesc
}
[
loader
]
{
createResource
}{
file, url
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment