Changeset 358 for WingDBG/trunk/utils.py

Show
Ignore:
Timestamp:
07/31/07 10:09:19 (5 years ago)
Author:
mj
Message:

Merge Wing 3b1 changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • WingDBG/trunk/utils.py

    r88 r358  
    6363    """Get the Wing IDE profile directory for the current user. 
    6464     
    65     If the debugger core has not been loaded yet, this may not be prcisely 
     65    If the debugger core has not been loaded yet, this may not be precisely 
    6666    correct because of the absence of a GetUserName function on win32.  
    6767    Returns None if the dir doesn't and can't exist -- this occurs on 
     
    8181        # On posix; use the expand path methodology and detect when that fails 
    8282        # or opens up a security problem (home set to /) 
    83         path = os.path.expanduser('~/.wingide2') 
    84         if path in ('~/.wingide2', '/.wingide2'): 
     83        path = os.path.expanduser('~/.wingide3') 
     84        if path in ('~/.wingide3', '/.wingide3'): 
    8585            return None 
    8686        return path