# HG changeset patch # User Pierre-Yves David # Date 1466726683 -7200 # Node ID fbe380dc227a0240939aa5a4941eda70d958ea40 # Parent 591a8069b60e16f2331a53e9c608c37e14be6947 pyflakes: use pycompat.pickles to prevent error The pyflakes in my test box complain about pickle in pycompat. mercurial/pycompat.py:17: 'pickle' imported but unused diff -r 591a8069b60e -r fbe380dc227a mercurial/pycompat.py --- a/mercurial/pycompat.py Tue Jun 21 06:29:23 2016 -0700 +++ b/mercurial/pycompat.py Fri Jun 24 02:04:43 2016 +0200 @@ -15,6 +15,7 @@ pickle.dumps except ImportError: import pickle + pickle.dumps # silence pyflakes try: import cStringIO as io