[ 
https://issues.apache.org/jira/browse/CLIMATE-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940169#comment-16940169
 ] 

Lewis John McGibbney commented on CLIMATE-969:
----------------------------------------------

Hi [~burrches] are you able to provide a patch? You may be able to use 2to3 
program? I'm surprised by this but I haven't used ocw in a while now.

> Print statements are used instead of functions throughout the project
> ---------------------------------------------------------------------
>
>                 Key: CLIMATE-969
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-969
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: general
>            Reporter: Bryer Jeannotte
>            Priority: Minor
>
> There still exists, throughout the project, the use of print statements 
> instead of print functions which make using python3 impossible, since that is 
> considered a syntax error.
>  
> Adding the import
> {code:java}
> from __future__ import print_statement{code}
> at the top of the file, and switching statements to functions, will allow the 
> use of python 2 and 3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to