fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trimming buttons on toolbar
[redakcja.git]
/
apps
/
catalogue
/
xml_tools.py
diff --git
a/apps/catalogue/xml_tools.py
b/apps/catalogue/xml_tools.py
old mode 100755
(executable)
new mode 100644
(file)
index
522806b
..
d6a9333
--- a/
apps/catalogue/xml_tools.py
+++ b/
apps/catalogue/xml_tools.py
@@
-230,7
+230,7
@@
def split_xml(text):
for a in name_elem.findall('.//' + tag):
a.text=''
del a[:]
for a in name_elem.findall('.//' + tag):
a.text=''
del a[:]
- name = etree.tostring(name_elem, method='text', encoding='utf-8')
+ name = etree.tostring(name_elem, method='text', encoding='utf-8')
.strip()
# in the original, remove everything from the start of the last chapter
parent = element.getparent()
# in the original, remove everything from the start of the last chapter
parent = element.getparent()