[devtools] Remove unused local function
authorRémi Cardona <remi.cardona@free.fr>
Tue, 19 Aug 2014 12:04:23 +0200
changeset 10066 313ce53a7232
parent 10045 0a49d61c8cca
child 10067 16c554c76eb4
[devtools] Remove unused local function Unused since cw's first commit.
devtools/htmlparser.py
--- a/devtools/htmlparser.py	Fri Oct 17 12:14:58 2014 +0200
+++ b/devtools/htmlparser.py	Tue Aug 19 12:04:23 2014 +0200
@@ -88,8 +88,6 @@
         try:
             return etree.fromstring(pdata, self.parser)
         except etree.XMLSyntaxError as exc:
-            def save_in(fname=''):
-                file(fname, 'w').write(data)
             new_exc = AssertionError(u'invalid document: %s' % exc)
             new_exc.position = exc.position
             raise new_exc