Changeset 358 for WingDBG/trunk/utils.py
- Timestamp:
- 07/31/07 10:09:19 (5 years ago)
- Files:
-
- 1 modified
-
WingDBG/trunk/utils.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
WingDBG/trunk/utils.py
r88 r358 63 63 """Get the Wing IDE profile directory for the current user. 64 64 65 If the debugger core has not been loaded yet, this may not be pr cisely65 If the debugger core has not been loaded yet, this may not be precisely 66 66 correct because of the absence of a GetUserName function on win32. 67 67 Returns None if the dir doesn't and can't exist -- this occurs on … … 81 81 # On posix; use the expand path methodology and detect when that fails 82 82 # or opens up a security problem (home set to /) 83 path = os.path.expanduser('~/.wingide 2')84 if path in ('~/.wingide 2', '/.wingide2'):83 path = os.path.expanduser('~/.wingide3') 84 if path in ('~/.wingide3', '/.wingide3'): 85 85 return None 86 86 return path
