[PATCH STABLE] obsolete: import base85 without using a from clause, fixing --pure

Steve Borho steve at borho.org
Thu Aug 23 18:49:32 CDT 2012


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1345765752 18000
# Branch stable
# Node ID 535271fb37252995525932650e936bf6e8b43dd8
# Parent  7228def3dcc114f2c9f8c7b7733170adcb3a5630
obsolete: import base85 without using a from clause, fixing --pure

diff -r 7228def3dcc1 -r 535271fb3725 mercurial/obsolete.py
--- a/mercurial/obsolete.py	Tue Aug 21 12:26:53 2012 -0500
+++ b/mercurial/obsolete.py	Thu Aug 23 18:49:12 2012 -0500
@@ -52,7 +52,8 @@
   cannot contain '\0'.
 """
 import struct
-from mercurial import util, base85
+from mercurial import util
+import base85
 from i18n import _
 
 # the obsolete feature is not mature enought to be enabled by default.


More information about the Mercurial-devel mailing list