"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "python/utils.py" between
QGIS-final-3_10_11.tar.gz and QGIS-final-3_10_12.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Long-term release (3.10.x series).

utils.py  (QGIS-final-3_10_11):utils.py  (QGIS-final-3_10_12)
skipping to change at line 744 skipping to change at line 744
global _import_path global _import_path
global _import_paths global _import_paths
old_path = _import_path old_path = _import_path
new_path = os.environ['PATH'] new_path = os.environ['PATH']
if old_path != new_path: if old_path != new_path:
global _AddDllDirectory global _AddDllDirectory
global _RemoveDllDirectory global _RemoveDllDirectory
for p in set(new_path.split(';')) - set(old_path.split(';')): for p in set(new_path.split(';')) - set(old_path.split(';')):
if p is not None and p not in _import_path: if p is not None and p not in _import_path and os.path.isdir (p):
_import_paths[p] = _AddDllDirectory(p) _import_paths[p] = _AddDllDirectory(p)
for p in set(old_path.split(';')) - set(new_path.split(';')): for p in set(old_path.split(';')) - set(new_path.split(';')):
if p in _import_paths: if p in _import_paths:
_RemoveDllDirectory(_import_paths.pop(p)) _RemoveDllDirectory(_import_paths.pop(p))
_import_path = new_path _import_path = new_path
mod = _builtin_import(name, globals, locals, fromlist, level) mod = _builtin_import(name, globals, locals, fromlist, level)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)