File: 0002-python3.patch

package info (click to toggle)
jpy 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,192 kB
  • sloc: ansic: 7,895; java: 3,442; python: 2,558; xml: 179; makefile: 162; sh: 49; javascript: 29
file content (23 lines) | stat: -rw-r--r-- 623 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
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(-)

diff --git a/jpyutil.py b/jpyutil.py
index 419ab76..51b12bc 100644
--- a/jpyutil.py
+++ b/jpyutil.py
@@ -513,7 +513,7 @@ class Config:
 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 = []