bcpkgfox 0.16.44__tar.gz → 0.16.45__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bcpkgfox might be problematic. Click here for more details.
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/PKG-INFO +1 -1
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/cli.py +2 -1
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/setup.py +1 -1
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/README.md +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/invoke_api.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.44 → bcpkgfox-0.16.45}/setup.cfg +0 -0
|
@@ -837,9 +837,10 @@ class cli:
|
|
|
837
837
|
# Re-write
|
|
838
838
|
add_list = []
|
|
839
839
|
imports = self.cli.find_imports.main(return_=True)
|
|
840
|
+
imports_lower = {imp.lower() for imp in imports}
|
|
840
841
|
with open(f'{name}', 'w') as f:
|
|
841
842
|
for line in lines:
|
|
842
|
-
if
|
|
843
|
+
if any(imp in line.lower() for imp in imports_lower):
|
|
843
844
|
f.write(line)
|
|
844
845
|
add_list.append(line)
|
|
845
846
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|