Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
cct
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Wiki
Network
Create a new issue
Commits
Authored by
Franck Pommereau
2018-04-27 16:44:00 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f5f5e292b6f9e7ce5c3bff5147646433739c2948
f5f5e292
1 parent
25908238
bug fix in ast dump
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
cctlib/cvisitors.py
cctlib/cvisitors.py
View file @
f5f5e29
...
...
@@ -116,7 +116,7 @@ class ASTPrinterVisitor(Visitor):
for
key
in
dir
(
node
):
if
key
[
0
]
==
'_'
:
continue
val
=
node
.
__dict__
[
key
]
val
=
getattr
(
node
,
key
,
None
)
if
(
isinstance
(
val
,
str
)
or
isinstance
(
val
,
int
)):
self
.
p
(
"
%
s:
%
s"
%
(
key
,
str
(
val
)))
...
...
Please
register
or
login
to post a comment