[gtk-doc] md_to_db: remove unused parameter
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] md_to_db: remove unused parameter
- Date: Wed, 9 Aug 2017 14:04:54 +0000 (UTC)
commit c8a3f0ef43daa16b861965f37252187259154ed2
Author: Stefan Sauer <ensonic users sf net>
Date: Wed Aug 9 15:52:51 2017 +0200
md_to_db: remove unused parameter
gtkdoc/md_to_db.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc/md_to_db.py b/gtkdoc/md_to_db.py
index 59f4583..2576f05 100644
--- a/gtkdoc/md_to_db.py
+++ b/gtkdoc/md_to_db.py
@@ -590,7 +590,7 @@ def MarkDownParseSpanElements(text):
return text
-def ReplaceEntities(text, symbol):
+def ReplaceEntities(text):
entities = [["<", '<'],
[">", '>'],
["*", '*'],
@@ -680,7 +680,7 @@ def MarkDownOutputDocBook(blocksref, symbol, context):
logging.debug('listing for %s: [%s]', symbol, '\n'.join(block['lines']))
for line in block["lines"]:
- output += ReplaceEntities(line, symbol) + "\n"
+ output += ReplaceEntities(line) + "\n"
output += "]]></%s></informalexample>\n" % tag
elif block["type"] == "markup":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]