Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Closed

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

gray75c opened this issue Mar 12, 2014 · 3 comments

Comments

@gray75c
Copy link

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
@quandyfactory
Copy link
Owner

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

@quandyfactory
Copy link
Owner

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

@quandyfactory
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants