mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
[processing] exclude commented R libraries when generating dependencies list (fix #14143)
This commit is contained in:
parent
47549ebcba
commit
f0cb706a5d
@ -201,7 +201,7 @@ class RUtils:
|
||||
|
||||
@staticmethod
|
||||
def getRequiredPackages(code):
|
||||
regex = re.compile('library\("?(.*?)"?\)')
|
||||
regex = re.compile('[^#]library\("?(.*?)"?\)')
|
||||
return regex.findall(code)
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user