Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ build/*
dist/*
env/*
.vscode/
.idea/
.ipynb_checkpoints/
config.json
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions inspect4py/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, path, out_control_flow_path, out_json_path, control_flow, abs
self.bodyInfo = self.inspect_body()
if control_flow:
self.out_control_flow_path = out_control_flow_path
self.controlFlowInfo = self.inspect_controlflow()
self.controlFlowInfo = self.inspect_controlflow("png")
else:
self.controlFlowInfo = {}
self.fileJson = self.file_json()
Expand Down Expand Up @@ -1290,7 +1290,7 @@ def main(input_path, output_dir, ignore_dir_pattern, ignore_file_pattern, requir
else:
dir_info[out_dir].append(code_info.fileJson[0])
except:
print("Error when processing " + f + ": ", sys.exc_info()[0])
print("Error when processing " + f + ": ", sys.exc_info())
continue

# Generate the call list of the Dir
Expand Down