diff tests/test-hybridencode.py @ 17590:eb0884680f5c

store: eliminate one level of lambda functions on _hybridencode
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 16 Sep 2012 11:36:14 +0200
parents f2bcc5975f10
children 9e31a72bede7
line wrap: on
line diff
--- a/tests/test-hybridencode.py	Sun Sep 16 11:36:06 2012 +0200
+++ b/tests/test-hybridencode.py	Sun Sep 16 11:36:14 2012 +0200
@@ -1,7 +1,6 @@
 from mercurial import store
 
-auxencode = lambda f: store._auxencode(f, True)
-hybridencode = lambda f: store._hybridencode(f, auxencode)
+hybridencode = lambda f: store._hybridencode(f, True)
 
 enc = hybridencode # used for 'dotencode' repo format