Fix the type of the 'fields' attribute for Propertyholder style objects.

Open
#76 · Created  · Last updated

Description

Fix the type of the 'fields' attribute for Propertyholder style objects. Because the type() call returns a class, not an object, you must then call the resulting class to actually initialize an object. The current scheme worked because classes are objects in python and can have attributes set on them, but does not seem to reflect the actual intention. Before: >>> issue.fields <class 'jira.resources.PropertyHolder'> After: >>> issue.fields <jira.resources.PropertyHolder object at 0x10208e790>

0 attachments

0 comments

Loading commits...