eric7/PipInterface/piplicenses.py

branch
eric7
changeset 9098
fb9351497cea
parent 9003
6bc210cd5726
--- a/eric7/PipInterface/piplicenses.py	Mon May 23 18:15:10 2022 +0200
+++ b/eric7/PipInterface/piplicenses.py	Tue May 24 10:22:46 2022 +0200
@@ -69,7 +69,7 @@
 
 
 __pkgname__ = 'pip-licenses'
-__version__ = '3.5.3'
+__version__ = '3.5.4'
 __author__ = 'raimon'
 __license__ = 'MIT'
 __summary__ = ('Dump the software license list of '
@@ -147,7 +147,7 @@
                                                        f))))
          for f in file_names]
         for test_file in patterns:
-            if os.path.exists(test_file):
+            if os.path.exists(test_file) and not os.path.isdir(test_file):
                 included_file = test_file
                 with open(test_file, encoding='utf-8',
                           errors='backslashreplace') as included_file_handle:

eric ide

mercurial