Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2017-05-18 14:07:53 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
397b635f1670d68e0cbbedaf449fbb620b04aa41
397b635f
1 parent
193114bd
handle parse errors in apidoc, one fixed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
snakes/utils/apidoc.py
snakes/utils/simul/httpd.py
snakes/utils/apidoc.py
View file @
397b635
...
...
@@ -270,7 +270,11 @@ class DocExtract (object) :
path
=
os
.
path
.
join
(
dirpath
,
name
)
if
not
self
.
openout
(
path
)
:
continue
node
=
parse
(
open
(
path
)
.
read
())
try
:
node
=
parse
(
open
(
path
)
.
read
())
except
:
err
(
"error parsing
%
r"
%
path
)
continue
if
".plugins."
in
self
.
module
:
self
.
visit_plugin
(
node
)
else
:
...
...
snakes/utils/simul/httpd.py
View file @
397b635
...
...
@@ -203,4 +203,4 @@ if __name__ == '__main__':
httpd
=
HTTPServer
((
''
,
1234
),
HelloNode
(
r
=
DirNode
(
"."
)))
httpd
.
serve_forever
()
except
KeyboardInterrupt
:
print
"
\r
Goobye"
print
(
"
\r
Goobye"
)
...
...
Please
register
or
login
to post a comment