summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobyrosen@gmail.com <tobyrosen@gmail.com@8ebc04a2-01ca-80aa-3703-73c302266661>2011-08-24 17:16:35 +0000
committertobyrosen@gmail.com <tobyrosen@gmail.com@8ebc04a2-01ca-80aa-3703-73c302266661>2011-08-24 17:16:35 +0000
commit9ee3119e640f72820d119632a6d0ead5d839394e (patch)
treea789994e0d9c1a585be0bd1f250e3afab0fb9416
parent42d93a36bc325d5a2b1a62296a20079375293c5f (diff)
fixed null field issue in preset split variable
git-svn-id: http://pyp.googlecode.com/svn/trunk@147 8ebc04a2-01ca-80aa-3703-73c302266661
-rw-r--r--pyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyp b/pyp
index a2cee27..99090a2 100644
--- a/pyp
+++ b/pyp
@@ -670,7 +670,7 @@ class Pyp(object):
'mm' : comma,
}
#gets rid of empty fields
- split_variables = dict((x, PypList([PypStr(y) for y in split_variables_raw[x] if y.strip()])) for x in split_variables_raw)
+ split_variables = dict((x, PypList([PypStr(y) for y in split_variables_raw[x]])) for x in split_variables_raw)
return split_variables
def join_and_format(self, join_type):