[Python-modules-commits] [python-pandocfilters] 01/03: New upstream version 1.4.2

Sebastian Humenda moomoc-guest at moszumanska.debian.org
Wed Aug 30 18:52:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

moomoc-guest pushed a commit to branch master
in repository python-pandocfilters.

commit 8a685f8286c98ecf7f86a86f6c894e139fe5dc18
Author: Sebastian Humenda <shumenda at gmx.de>
Date:   Wed Aug 23 10:32:54 2017 +0200

    New upstream version 1.4.2
---
 PKG-INFO         | 8 ++++----
 README           | 6 +++---
 README.rst       | 6 +++---
 pandocfilters.py | 4 ++--
 setup.py         | 2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index 8bd5c54..dd1762b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pandocfilters
-Version: 1.4.1
+Version: 1.4.2
 Summary: Utilities for writing pandoc filters in python
 Home-page: http://github.com/jgm/pandocfilters
 Author: John MacFarlane
@@ -63,8 +63,7 @@ Description: pandocfilters
            ``action(key, value, format, meta)``, where:
         
            -  ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
-              ``value`` is
-           -  the contents of the object (e.g. a string for 'Str', a list of
+           -  ``value`` is the contents of the object (e.g. a string for 'Str', a list of
               inline elements for 'Para')
            -  ``format`` is the target output format (as supplied by the
               ``format`` argument of ``walk``)
@@ -128,8 +127,9 @@ Description: pandocfilters
         -  ``attributes(attrs)``
         
            Returns an attribute list, constructed from the dictionary attrs.
+        
         How to use
-        --------------
+        ----------
         Most users will only need ``toJSONFilter``.  Here is a simple example
         of its use::
         
diff --git a/README b/README
index ba8c9c2..a949ba0 100644
--- a/README
+++ b/README
@@ -55,8 +55,7 @@ The main functions ``pandocfilters`` exports are
    ``action(key, value, format, meta)``, where:
 
    -  ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
-      ``value`` is
-   -  the contents of the object (e.g. a string for 'Str', a list of
+   -  ``value`` is the contents of the object (e.g. a string for 'Str', a list of
       inline elements for 'Para')
    -  ``format`` is the target output format (as supplied by the
       ``format`` argument of ``walk``)
@@ -120,8 +119,9 @@ The main functions ``pandocfilters`` exports are
 -  ``attributes(attrs)``
 
    Returns an attribute list, constructed from the dictionary attrs.
+
 How to use
---------------
+----------
 Most users will only need ``toJSONFilter``.  Here is a simple example
 of its use::
 
diff --git a/README.rst b/README.rst
index ba8c9c2..a949ba0 100644
--- a/README.rst
+++ b/README.rst
@@ -55,8 +55,7 @@ The main functions ``pandocfilters`` exports are
    ``action(key, value, format, meta)``, where:
 
    -  ``key`` is the type of the pandoc object (e.g. 'Str', 'Para')
-      ``value`` is
-   -  the contents of the object (e.g. a string for 'Str', a list of
+   -  ``value`` is the contents of the object (e.g. a string for 'Str', a list of
       inline elements for 'Para')
    -  ``format`` is the target output format (as supplied by the
       ``format`` argument of ``walk``)
@@ -120,8 +119,9 @@ The main functions ``pandocfilters`` exports are
 -  ``attributes(attrs)``
 
    Returns an attribute list, constructed from the dictionary attrs.
+
 How to use
---------------
+----------
 Most users will only need ``toJSONFilter``.  Here is a simple example
 of its use::
 
diff --git a/pandocfilters.py b/pandocfilters.py
index 0d9152d..81b7269 100755
--- a/pandocfilters.py
+++ b/pandocfilters.py
@@ -102,7 +102,7 @@ def walk(x, action, format, meta):
       list is merged with the neighbors of the orignal objects (spliced into
       the list the original object belongs to); returning an empty list deletes
       the object
-"""
+    """
     if isinstance(x, list):
         array = []
         for item in x:
@@ -245,7 +245,7 @@ def elt(eltType, numargs):
         elif len(args) == 1:
             xs = args[0]
         else:
-            xs = args
+            xs = list(args)
         return {'t': eltType, 'c': xs}
     return fun
 
diff --git a/setup.py b/setup.py
index bf118d4..3820276 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
 setup(name='pandocfilters',
-      version='1.4.1',
+      version='1.4.2',
       description='Utilities for writing pandoc filters in python',
       long_description=read('README.rst'),
       author='John MacFarlane',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pandocfilters.git



More information about the Python-modules-commits mailing list