Rev 2611: Fix get_home_location on Win98 (gzlist, r=john, r=alexander) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Jul 13 01:46:45 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2611
revision-id: pqm at pqm.ubuntu.com-20070713004642-1kada21zx2lkwqyc
parent: pqm at pqm.ubuntu.com-20070712133554-r8me4pz4j68p2ytf
parent: mbp at sourcefrog.net-20070712234201-pfujpfz12yht2d11
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2007-07-13 01:46:42 +0100
message:
  Fix get_home_location on Win98 (gzlist,r=john,r=alexander)
modified:
  bzrlib/win32utils.py           win32console.py-20051021033308-123c6c929d04973d
    ------------------------------------------------------------
    revno: 2610.1.1
    merged: mbp at sourcefrog.net-20070712234201-pfujpfz12yht2d11
    parent: pqm at pqm.ubuntu.com-20070712133554-r8me4pz4j68p2ytf
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: trivial
    timestamp: Fri 2007-07-13 09:42:01 +1000
    message:
      Fix get_home_location on Win98 (gzlist,r=john,r=alexander)
=== modified file 'bzrlib/win32utils.py'
--- a/bzrlib/win32utils.py	2007-07-10 20:04:45 +0000
+++ b/bzrlib/win32utils.py	2007-07-12 23:42:01 +0000
@@ -169,7 +169,7 @@
     # at least return windows root directory
     windir = os.environ.get('windir')
     if windir:
-        return os.path.splitdrive(windir) + '/'
+        return os.path.splitdrive(windir)[0] + '/'
     # otherwise C:\ is good enough for 98% users
     return 'C:/'
 




More information about the bazaar-commits mailing list