mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove some unused methods
This commit is contained in:
parent
dd89f3779a
commit
b752d56186
@ -70,23 +70,6 @@ def getTempFilename(ext=None):
|
||||
return filename
|
||||
|
||||
|
||||
def getTempDirInTempFolder():
|
||||
"""Returns a temporary directory, putting it into a temp folder.
|
||||
"""
|
||||
|
||||
path = QgsProcessingUtils.tempFolder()
|
||||
path = os.path.join(path, uuid.uuid4().hex)
|
||||
mkdir(path)
|
||||
return path
|
||||
|
||||
|
||||
def removeInvalidChars(string):
|
||||
validChars = \
|
||||
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:.'
|
||||
string = ''.join(c for c in string if c in validChars)
|
||||
return string
|
||||
|
||||
|
||||
def getNumExportedLayers():
|
||||
global numExported
|
||||
numExported += 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user