~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-13 00:46:42 UTC
  • mfrom: (2610.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20070713004642-1kada21zx2lkwqyc
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