changeset 814 | 5743cbdff669 |
parent 806 | abf1afc1f04d |
child 815 | e4f24593a758 |
813:1460273f40ed | 814:5743cbdff669 |
---|---|
2 Misc definitions |
2 Misc definitions |
3 """ |
3 """ |
4 |
4 |
5 import os,sys |
5 import os,sys |
6 |
6 |
7 from TextViewer import TextViewer |
7 from editors.TextViewer import TextViewer |
8 |
8 |
9 # helper func to check path write permission |
9 # helper func to check path write permission |
10 def CheckPathPerm(path): |
10 def CheckPathPerm(path): |
11 if path is None or not os.path.isdir(path): |
11 if path is None or not os.path.isdir(path): |
12 return False |
12 return False |