Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
aa817f1b
Commit
aa817f1b
authored
Sep 21, 2017
by
Alex Willmer
Committed by
David Wilson
Mar 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle failure to import the ast module
parent
dd8271f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mitogen/master.py
mitogen/master.py
+6
-1
No files found.
mitogen/master.py
View file @
aa817f1b
import
ast
try
:
import
ast
except
ImportError
:
# ast module is not available in Python 2.4.x, instead we shall use the
# the compiler module as a fallback
ast
=
None
import
commands
import
commands
import
compiler
import
compiler
import
errno
import
errno
...
...
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