Issue #6 resolved

xmlparser raises AttributeError on Python 2.6

pendletongp
created an issue
Traceback (most recent call last):
  File "client.py", line 1, in <module>
    from osa import Client
  File "c:\path\to\osa\osa\__init__.py", line 5, in <module>
    from .client import Client
  File "c:\path\to\osa\osa\client.py", line 10, in <module>
    from . import wsdl
  File "c:\path\to\osa\osa\wsdl.py", line 9, in <module>
    from . import xmlparser
  File "c:\path\to\osa\osa\xmlparser.py", line 10, in <module>
    if sys.version_info.major < 3:
AttributeError: 'tuple' object has no attribute 'major'
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version_info
(2, 6, 6, 'final', 0)

Comments (1)

  1. Log in to comment