Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireproto.py @ 14064:e4bfb9c337f3
remove unused imports and variables
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 30 Apr 2011 13:59:14 +0200 |
parents | 58e58406ed19 |
children | ce99d887585f |
line wrap: on
line diff
--- a/mercurial/wireproto.py Sat Apr 30 07:30:38 2011 -0500 +++ b/mercurial/wireproto.py Sat Apr 30 13:59:14 2011 +0200 @@ -296,7 +296,7 @@ if len(new) == 20 and new.encode('string-escape') != new: # looks like it could be a binary node try: - u = new.decode('utf-8') + new.decode('utf-8') new = encoding.tolocal(new) # but cleanly decodes as UTF-8 except UnicodeDecodeError: pass # binary, leave unmodified