Commit e7f09b6
committed
Fix crash in --version
$ python3 tinyprog --version
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "tinyprog/__main__.py", line 474, in <module>
main()
File "tinyprog/__main__.py", line 283, in main
tinyprog.__version__, tinyprog.__full_version__))
AttributeError: module 'tinyprog' has no attribute '__version__'1 parent fcd9830 commit e7f09b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments