From e99963a534b529840f041cfa8f5e4ab1f030f49d Mon Sep 17 00:00:00 2001
From: Marcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Date: Wed, 2 Jan 2013 12:44:14 +0100
Subject: [PATCH] Slight change in api - returning one value from element
 handler will mean not to process it's children (just as returning none)

---
 librarian/xmlutils.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/librarian/xmlutils.py b/librarian/xmlutils.py
index 523ad8b..839ae89 100644
--- a/librarian/xmlutils.py
+++ b/librarian/xmlutils.py
@@ -94,8 +94,7 @@ class Xmill(object):
                     return []
                 else:
                     if not isinstance(vals, tuple):
-                        pre = [vals]
-                        post = []
+                        return [vals]
                     else:
                         pre = [vals[0], element.text]
                         post = [vals[1]]
-- 
2.20.1