Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2383

[fb] read_contents doesn't close file handler propeprly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.8.0
    • Component/s: app.filebrowser
    • Labels:
      None
    • Target Version:
    • Easy:
      Easy

      Description

      The problem is `finally`-block tries to close a file handler that may be not initiated, it throws an `NameError` exception.

        Attachments

          Activity

            People

            • Assignee:
              ivanorlo Ivan Orlov
              Reporter:
              ivanorlo Ivan Orlov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: