Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
4bd77e47
Commit
4bd77e47
authored
Feb 10, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- remove double import
- use constant from errno module instead of magic number
parent
34713129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/ZEO/tests/testStart.py
src/ZEO/tests/testStart.py
+1
-3
No files found.
src/ZEO/tests/testStart.py
View file @
4bd77e47
...
...
@@ -28,8 +28,6 @@ try:
from
ZODB.tests.StorageTestBase
import
removefs
except
ImportError
:
# for compatibility with Zope 2.5 &c.
import
errno
def
removefs
(
base
):
"""Remove all files created by FileStorage with path base."""
for
ext
in
''
,
'.old'
,
'.tmp'
,
'.lock'
,
'.index'
,
'.pack'
:
...
...
@@ -105,7 +103,7 @@ class StartTests(unittest.TestCase):
try
:
_pid
,
status
=
os
.
waitpid
(
pid
,
flag
)
except
os
.
error
,
err
:
if
err
[
0
]
==
10
:
if
err
[
0
]
==
errno
.
ECHILD
:
continue
print
err
else
:
...
...
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