summaryrefslogtreecommitdiff
path: root/reg.py.patch
blob: bdba2d35104ca76777b09be61a4975367f6b9a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- xml/reg.py.bak	2015-02-08 15:42:56.605819400 +0000
+++ xml/reg.py	2015-02-08 15:42:59.558973100 +0000
@@ -34,7 +34,7 @@
 # Used in converting lxml Elements into text.
 #   str - string to convert
 def noneStr(str):
-    if (str):
+    if (str is not None):
         return str
     else:
         return ""