# python 3.4
bundle = connection.get_enum_bundle('70-756-1479473044676')
bundle.to_xml() # raise
File "E:/GITHUB/dohq_youtrack\youtrack\youtrack.py", line 635, in to_xml
result += ">%s</%s>" % (escape(self.name.encode('utf-8')), self.element_name)
File "C:\Python34\lib\xml\sax\saxutils.py", line 27, in escape
data = data.replace("&", "&")
TypeError: 'str' does not support the buffer interface
1 - problems with encoding
and from https://github.com/devopshq/youtrack/issues/9
2 - problem with attribute When I
GET /rest/admin/customfield/bundle/70-756-1479473044676
xml is:After, i try
bundle.to_xml()
and get this, without colorIndex