# HG changeset patch # User Pierre-Yves David # Date 2016-06-24 00:04:43 # 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 --git a/mercurial/pycompat.py b/mercurial/pycompat.py --- a/mercurial/pycompat.py +++ b/mercurial/pycompat.py @@ -15,6 +15,7 @@ try: pickle.dumps except ImportError: import pickle + pickle.dumps # silence pyflakes try: import cStringIO as io