Skip to content
Permalink
Browse files

flake8

  • Loading branch information...
ralsina committed Apr 22, 2015
1 parent 66eab08 commit ab5ff3548969800412968961340e22cee4b9d73e
Showing with 1 addition and 3 deletions.
  1. +1 −3 v7/mediawiki/mediawiki.py
@@ -32,11 +32,9 @@

from __future__ import unicode_literals

import codecs
import io
import os
import re
import subprocess

from lxml import etree
try:
@@ -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)

0 comments on commit ab5ff35

Please sign in to comment.
You can’t perform that action at this time.