Rev 5600: Change the comment slightly in http://bazaar.launchpad.net/~jameinel/bzr/2.3-unicode-home

John Arbash Meinel john at arbash-meinel.com
Wed Jan 12 18:13:04 UTC 2011


At http://bazaar.launchpad.net/~jameinel/bzr/2.3-unicode-home

------------------------------------------------------------
revno: 5600
revision-id: john at arbash-meinel.com-20110112181258-h6y0zroiglo0whx1
parent: john at arbash-meinel.com-20110112175016-5jtrkw4dubty2jjj
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.3-unicode-home
timestamp: Wed 2011-01-12 12:12:58 -0600
message:
  Change the comment slightly
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py	2011-01-12 17:50:16 +0000
+++ b/bzrlib/config.py	2011-01-12 18:12:58 +0000
@@ -1131,9 +1131,9 @@
     """
     base = os.environ.get('BZR_HOME', None)
     if sys.platform == 'win32':
+        # environ variables on Windows are in user encoding/mbcs. So decode
+        # before using one
         if base is not None:
-            # environ variables on Windows are in user encoding/mbcs, we should
-            # decode it to a Unicode variable
             base = base.decode('mbcs')
         if base is None:
             base = win32utils.get_appdata_location_unicode()



More information about the bazaar-commits mailing list