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
aa0d4f47
Commit
aa0d4f47
authored
Apr 04, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure asyncore is defined one way or another
parent
e354e393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/ZEO/fap.py
src/ZEO/fap.py
+5
-0
No files found.
src/ZEO/fap.py
View file @
aa0d4f47
...
...
@@ -109,6 +109,8 @@ def fap(where=''):
# Try a little harder to import ZServer
import
os
,
imp
asyncore
=
None
for
location
in
where
,
'.'
,
os
.
path
.
join
(
'..'
,
'..'
):
if
whiff
(
location
):
sys
.
path
.
append
(
location
)
...
...
@@ -118,6 +120,9 @@ def fap(where=''):
import
asyncore
break
if
asyncore
is
None
:
import
asyncore
if
sys
.
version
[:
1
]
<
'2'
and
asyncore
.
loop
.
func_code
.
co_argcount
<
3
:
raise
ImportError
,
'Cannot import an up-to-date asyncore'
...
...
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