File: 0002-python3.patch

package info (click to toggle)
jpy 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,420 kB
  • sloc: ansic: 8,195; java: 3,617; python: 2,987; xml: 168; makefile: 162; sh: 49; javascript: 29
file content (21 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Alastair McKinstry <mckinstry@debian.org>
Date: Thu, 18 Nov 2021 21:38:04 -0400
Subject: Minor 2to3 fixes for python3 package

Last-Updated: 2016-07-07
Forwarded: no
---
 jpyutil.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/jpyutil.py
+++ b/jpyutil.py
@@ -546,7 +546,7 @@
 class Properties:
     def __init__(self, values=None):
         if values:
-            self.keys = values.keys()
+            self.keys = list(values.keys())
             self.values = values.copy()
         else:
             self.keys = []