Skip to content

Unnecessary NameError exception handling in tutor.py #793

@ievacerny

Description

@ievacerny

Previous implementation of tutor.py (#697) raised a NameError in main() if "no tutorials were found". Current implementation (#712) will open any folder and attempt to show the contents -- no error is raised and therefore no exception handling is needed.

try:
main(root_dir)
except NameError as e:
print(e)
print(usage)

Metadata

Metadata

Assignees

Labels

ETS BacklogGood issue for ETS team members to look at

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions