util/misc.py
changeset 1736 7e61baa047f0
parent 1735 c02818d7e29f
child 1740 b789b695b5c6
--- 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