~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Aaron Bentley
  • Date: 2007-07-13 06:10:29 UTC
  • mfrom: (2616 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2617.
  • Revision ID: aaron.bentley@utoronto.ca-20070713061029-9ebz58a3yvvax5du
Merge bzr.dev

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