Rev 6409: Remove broken relative import. in file:///home/vila/src/bzr/experimental/for-babune/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Jan 2 08:22:02 UTC 2012
At file:///home/vila/src/bzr/experimental/for-babune/
------------------------------------------------------------
revno: 6409
revision-id: v.ladeuil+lp at free.fr-20120102082201-e3dhs3ggb11sj5eu
parent: pqm at pqm.ubuntu.com-20111230155159-qrgafyvytuitiq8u
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: for-babune
timestamp: Mon 2012-01-02 09:22:01 +0100
message:
Remove broken relative import.
-------------- next part --------------
=== modified file 'bzrlib/osutils.py'
--- a/bzrlib/osutils.py 2011-12-19 17:39:35 +0000
+++ b/bzrlib/osutils.py 2012-01-02 08:22:01 +0000
@@ -2076,7 +2076,7 @@
# On windows want the result of GetACP() which this boils down to.
_message_encoding = get_user_encoding()
return _message_encoding or "ascii"
-
+
def get_host_name():
"""Return the current unicode host name.
@@ -2085,7 +2085,6 @@
behaves inconsistently on different platforms.
"""
if sys.platform == "win32":
- import win32utils
return win32utils.get_host_name()
else:
import socket
More information about the bazaar-commits
mailing list