Skip to content

fromstring() fails due to mismatch between import and usage of StringIO. #9

@GoogleCodeExporter

Description

@GoogleCodeExporter
In svn HEAD (r90), on line 22 of patch.py, StringIO is imported using "from 
StringIO import StringIO".  But on line 70 (in fromstring()), the code tries to 
instantiate "StringIO.StringIO", which fails with an AttributeError.

This can be fixed by either changing the import to just "import StringIO" or by 
removing the initial "StringIO." from the place where StringIO is instantiated.

Original issue reported on code.google.com by john.stumpo on 29 Jun 2010 at 12:09

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions