histedit: raise ImportError when demandloading is enabled stable
authorSimon Heimberg <simohe@besonet.ch>
Wed, 05 Jun 2013 21:16:49 +0200
branchstable
changeset 19284 87bb53367633
parent 19260 04eb7d7e115b
child 19295 73066ba46ec5
histedit: raise ImportError when demandloading is enabled
hgext/histedit.py
--- a/hgext/histedit.py	Sat Jun 01 17:10:24 2013 -0500
+++ b/hgext/histedit.py	Wed Jun 05 21:16:49 2013 +0200
@@ -140,6 +140,7 @@
 
 try:
     import cPickle as pickle
+    pickle.dump # import now
 except ImportError:
     import pickle
 import os