Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

An error while converting lists containing 'None' elements #13

Closed
gray75c opened this Issue Mar 12, 2014 · 3 comments

Comments

Projects
None yet
2 participants

gray75c commented Mar 12, 2014

The code:

dicttoxml([None])

produces:

TypeError: Unsupported data type: None (NoneType)

I belive it should return:

u'<?xml version="1.0" encoding="UTF-8" ?><root><item type="null"></item></root>'

quandyfactory added a commit that referenced this issue Apr 14, 2014

quandyfactory added a commit that referenced this issue Apr 14, 2014

Owner

quandyfactory commented Apr 14, 2014

Thank you for bringing this to my attention. It should be fixed in version 1.3.4.

@quandyfactory quandyfactory reopened this Apr 14, 2014

Owner

quandyfactory commented Apr 14, 2014

Reopened: I just realized you were submitted a list with only None as an item.

Owner

quandyfactory commented Apr 14, 2014

Now it's fixed in version 1.3.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment