changeset 29405:fbe380dc227a

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
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 24 Jun 2016 02:04:43 +0200
parents 591a8069b60e
children c2193e59ef9f
files mercurial/pycompat.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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