Show More
@@ -942,11 +942,7 b' def get_home_dir():' | |||||
942 | if not isdir(homedir): |
|
942 | if not isdir(homedir): | |
943 | # in case a user stuck some string which does NOT resolve to a |
|
943 | # in case a user stuck some string which does NOT resolve to a | |
944 | # valid path, it's as good as if we hadn't foud it |
|
944 | # valid path, it's as good as if we hadn't foud it | |
945 |
|
945 | raise KeyError | ||
946 | #raise KeyError # dbg |
|
|||
947 | # dbg - figuring out what's going on here |
|
|||
948 | pp = os.listdir(homedir+'/..') |
|
|||
949 | raise ValueError('Wrong dir: %s\n%s' % (homedir,pp)) # dbg |
|
|||
950 | return homedir |
|
946 | return homedir | |
951 | except KeyError: |
|
947 | except KeyError: | |
952 | if os.name == 'posix': |
|
948 | if os.name == 'posix': |
General Comments 0
You need to be logged in to leave comments.
Login now