Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-376

ResultSet as old-style class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • cmislib 0.4.1
    • cmislib 0.5
    • python-cmislib
    • None

    Description

      cmislib.model.ResultSet is defined as

      [...]
      class ResultSet():
      [...]

      This notation is both incompatible with python2.4 and makes the ResultSet an old-style class (dropped in python3.0+)

      It should be changed to inherit object, as such:

      class ResultSet(object):

      I don't see a reason for cmislib.model.ResultSet to be defined as an old-style class and it should be changed for compatibility.

      Attachments

        Activity

          People

            jpotts Jeffrey Taylor Potts
            simpoir Simon Poirier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: