File: python3.patch

package info (click to toggle)
metview 5.26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 614,356 kB
  • sloc: cpp: 560,586; ansic: 44,641; xml: 19,933; f90: 17,984; sh: 7,454; python: 5,565; yacc: 2,318; lex: 1,372; perl: 701; makefile: 87
file content (30 lines) | stat: -rw-r--r-- 1,306 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Port  python scripts to Python3
Author: Alastair McKinstry <mckinstry@debian.org>
Forwarded: no
Last-Updated: 2018-01-03

Index: metview-5.26.2/metview/scripts/mv_eccharts.py
===================================================================
--- metview-5.26.2.orig/metview/scripts/mv_eccharts.py
+++ metview-5.26.2/metview/scripts/mv_eccharts.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #***************************** LICENSE START ***********************************
 #
 # Copyright 2018 ECMWF and INPE. This software is distributed under the terms
Index: metview-5.26.2/metview/scripts/mv_mars_catalog.py
===================================================================
--- metview-5.26.2.orig/metview/scripts/mv_mars_catalog.py
+++ metview-5.26.2/metview/scripts/mv_mars_catalog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Copyright 2012 ECMWF and INPE. This software is distributed under the terms
 # of the Apache License version 2.0. In applying this license, ECMWF does not
 # waive the privileges and immunities granted to it by virtue of its status as
@@ -39,4 +39,4 @@ tree    = []
 output ={"axis":[], "tree":[], "choices":{}}
 fetch().navigate(path,output)
 #print fetch().kids.keys()
-print json.dumps(output, indent = 4)
+print (json.dumps(output, indent = 4))