Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15090

Stop using file in Python code

    Details

    • Templates:
    • Story Points:
      0.5
    • Sprint:
      AP F18-1
    • Team:
      Alert Production

      Description

      We are still using the old `file` class in some Python code, even though it is not available in Python 3. It should be replaced with `open`.

      Also, pep8 catches this so I suggest making the packages pep8 compliant, enabling automatic checking and removing python 2 support (all of which should be trivial).

        Attachments

          Activity

            People

            • Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              Tim Jenness
              Watchers:
              Russell Owen, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel