Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Apr 22, 2015
1 parent 66eab08 commit ab5ff35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions v7/mediawiki/mediawiki.py
Expand Up @@ -32,11 +32,9 @@

from __future__ import unicode_literals

import codecs
import io
import os
import re
import subprocess

from lxml import etree
try:
Expand Down Expand Up @@ -71,7 +69,7 @@ def compile_html(self, source, dest, is_two_file=True):
parser = mw.Parser(parseinfo=False, whitespace='', nameguard=False)
ast = parser.parse(data, 'document', semantics=mw.Semantics(parser))
output = etree.tostring(ast, encoding='utf8').decode('utf8')
out_file.write(output)
out_file.write(output)

def create_post(self, path, **kw):
content = kw.pop('content', None)
Expand Down

0 comments on commit ab5ff35

Please sign in to comment.