removed item_to_dict

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40989
This commit is contained in:
Ismael Carnales 2009-03-17 15:22:57 +00:00
parent 63150e2ed4
commit c54a3fe7f6
1 changed files with 0 additions and 7 deletions

View File

@ -199,10 +199,3 @@ def string_camelcase(string):
return CAMELCASE_INVALID_CHARS.sub('', string.title())
def item_to_dict(item):
"""Returns a dict representation of an item"""
res = {}
for field in item.fields:
res[field] = getattr(item, field)
return res