"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "python/plugins/processing/algs/gdal/GdalUtils.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).

GdalUtils.py  (QGIS-final-3_10_11):GdalUtils.py  (QGIS-final-3_10_12)
skipping to change at line 223 skipping to change at line 223
if ext in exts: if ext in exts:
return name return name
return 'GTiff' return 'GTiff'
@staticmethod @staticmethod
def escapeAndJoin(strList): def escapeAndJoin(strList):
joined = '' joined = ''
for s in strList: for s in strList:
if not isinstance(s, str): if not isinstance(s, str):
s = str(s) s = str(s)
if s and s[0] != '-' and ' ' in s: if s and s[0] != '-' and (' ' in s or '&' in s):
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \ escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \
+ '"' + '"'
else: else:
escaped = s escaped = s
if escaped is not None: if escaped is not None:
joined += escaped + ' ' joined += escaped + ' '
return joined.strip() return joined.strip()
@staticmethod @staticmethod
def version(): def version():
 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)