Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a directory: "foo.bar.license" #247

Open
Elshid opened this issue May 17, 2024 · 0 comments
Open

Not a directory: "foo.bar.license" #247

Elshid opened this issue May 17, 2024 · 0 comments

Comments

@Elshid
Copy link

Elshid commented May 17, 2024

The program does view certain files as directories. Recommend first to check whether something is a directory.

Output:

Traceback (most recent call last): File "/usr/bin/gitinspector", line 33, in <module> sys.exit(load_entry_point('gitinspector==0.4.4', 'console_scripts', 'gitinspector')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/gitinspector/gitinspector.py", line 121, in main config.init(__run__) File "/usr/lib/python3/dist-packages/gitinspector/config.py", line 56, in init var = __read_git_config_string__(run.repo, "file-types") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/gitinspector/config.py", line 52, in __read_git_config_string__ string = __read_git_config__(repo, variable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/gitinspector/config.py", line 32, in __read_git_config__ os.chdir(repo) NotADirectoryError: [Errno 20] Not a directory: 'foo.bar.license'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant