From 4224863293c6be053d155cfe0651d53db39c2515 Mon Sep 17 00:00:00 2001 From: Christophe Demko Date: Tue, 3 Jan 2017 15:13:14 +0100 Subject: [PATCH] Removing useless warning function --- pandoc_numbering.py | 5 ----- setup.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pandoc_numbering.py b/pandoc_numbering.py index a270118..bf4f2dc 100644 --- a/pandoc_numbering.py +++ b/pandoc_numbering.py @@ -4,8 +4,6 @@ Pandoc filter to number all kinds of things. """ -from __future__ import print_function - from pandocfilters import walk, stringify, Str, Space, Para, BulletList, Plain, Strong, Span, Link, Emph, RawInline, RawBlock, Header from functools import reduce import json @@ -16,9 +14,6 @@ import unicodedata import subprocess -def warning(*objs): - print("WARNING: ", *objs, file=sys.stderr) - count = {} information = {} collections = {} diff --git a/setup.py b/setup.py index 6acc30c..51108c0 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='2.0.1', + version='2.0.2', # The project's description description='A pandoc filter for automatic numbering',