diff hgext/simple4server.py @ 1757:86e71a0b3319 stable

errors: add missing imports of mercurial.error
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 28 Oct 2016 17:25:06 -0700
parents 346de2c1b0e9
children 924b76a51d18
line wrap: on
line diff
--- a/hgext/simple4server.py	Fri Oct 28 17:15:57 2016 -0700
+++ b/hgext/simple4server.py	Fri Oct 28 17:25:06 2016 -0700
@@ -15,6 +15,7 @@
 
 import hashlib
 import struct
+from mercurial import error
 from mercurial import util
 from mercurial import wireproto
 from mercurial import extensions