Show More
@@ -942,11 +942,7 b' def get_home_dir():' | |||
|
942 | 942 | if not isdir(homedir): |
|
943 | 943 | # in case a user stuck some string which does NOT resolve to a |
|
944 | 944 | # valid path, it's as good as if we hadn't foud it |
|
945 | ||
|
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 | |
|
945 | raise KeyError | |
|
950 | 946 | return homedir |
|
951 | 947 | except KeyError: |
|
952 | 948 | if os.name == 'posix': |
General Comments 0
You need to be logged in to leave comments.
Login now