~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Martin Pool
  • Date: 2007-07-12 23:42:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2611.
  • Revision ID: mbp@sourcefrog.net-20070712234201-pfujpfz12yht2d11
Fix get_home_location on Win98 (gzlist,r=john,r=alexander)

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
    # at least return windows root directory
170
170
    windir = os.environ.get('windir')
171
171
    if windir:
172
 
        return os.path.splitdrive(windir) + '/'
 
172
        return os.path.splitdrive(windir)[0] + '/'
173
173
    # otherwise C:\ is good enough for 98% users
174
174
    return 'C:/'
175
175