--- a/util/misc.py Mon Aug 14 22:30:41 2017 +0300
+++ b/util/misc.py Mon Aug 14 23:27:15 2017 +0300
@@ -29,8 +29,9 @@
import os
import sys
-# helper func to check path write permission
+
def CheckPathPerm(path):
+ """ Helper func to check path write permission """
if path is None or not os.path.isdir(path):
return False
for root, dirs, files in os.walk(path):
@@ -41,6 +42,7 @@
return False
return True
+
def GetClassImporter(classpath):
if type(classpath)==str:
def fac():
@@ -50,6 +52,7 @@
else:
return classpath
+
def InstallLocalRessources(CWD):
from BitmapLibrary import AddBitmapFolder
from TranslationCatalogs import AddCatalog