From 9ee3119e640f72820d119632a6d0ead5d839394e Mon Sep 17 00:00:00 2001 From: "tobyrosen@gmail.com" Date: Wed, 24 Aug 2011 17:16:35 +0000 Subject: fixed null field issue in preset split variable git-svn-id: http://pyp.googlecode.com/svn/trunk@147 8ebc04a2-01ca-80aa-3703-73c302266661 --- pyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.3.1