There's an inverse to transform.none_if_empty() called "transform.empty_if_none()" which returns "" if the input value is None. I think you need to add that to the value it's choking on.
export_transform: transform.empty_if_none(type) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.