lgtm: removes unused imports in Python scripts
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#***************************************************************************
|
||||
|
||||
import os
|
||||
import sys
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ def getInfo(filename):
|
||||
import gnomevfs
|
||||
except Exception:
|
||||
# alternative method
|
||||
import hashlib,urllib.parse
|
||||
import hashlib
|
||||
fhash = hashlib.md5(bytes(urllib.parse.quote("file://"+path,safe=":/"),"ascii")).hexdigest()
|
||||
thumb = os.path.join(os.path.expanduser("~"),".thumbnails","normal",fhash+".png")
|
||||
else:
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#* *
|
||||
#***************************************************************************
|
||||
|
||||
import sys
|
||||
from PySide import QtGui
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user