Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3370

Python client to return None instead of throwing exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0, 2.2.0
    • intg
    • None

    Description

      Issue reported in pull request 110:

      For calls to retrieve non existing objects (policies/services/service-defs/..), Python client throw an exception. Instead of an exception, None should be returned in such cases.

      Attachments

        1. RANGER-3370.patch
          2 kB
          Madhan Neethiraj

        Activity

          People

            Unassigned Unassigned
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: