Skip to content

Refactor scripts to ensure python3 compatibility#8

Merged
allibco merged 1 commit into
NCAR:masterfrom
johnsonbk:python3_refactor
Sep 11, 2020
Merged

Refactor scripts to ensure python3 compatibility#8
allibco merged 1 commit into
NCAR:masterfrom
johnsonbk:python3_refactor

Conversation

@johnsonbk
Copy link
Copy Markdown
Contributor

  • Change print statements to use print_function
  • Change iteritems() to items() since items is an
    iterator by default in python3
  • from __future__ import print_function included at top of each
    script to ensure identical behavior in python2 and python3

@allibco allibco merged commit 0569beb into NCAR:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants