Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-cooldict
cooldict_python3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cooldict_python3.patch of Package python-cooldict
From 516fd5a87f0332444b6bf055bb755f28e1c7c9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de> Date: Sun, 15 Apr 2018 13:16:35 +0200 Subject: [PATCH] Fix Python3 SyntaxError MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.6 emits the following error: File "/usr/lib/python3.6/site-packages/cooldict.py", line 577 print da[10] ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(da[10])? Address this by adding the suggested parentheses. Signed-off-by: Andreas Färber <afaerber@suse.de> --- cooldict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cooldict.py b/cooldict.py index 27bcb5c..e070714 100644 --- a/cooldict.py +++ b/cooldict.py @@ -574,7 +574,7 @@ def test(): l.info("Testing SinkholeCOWDict") da = SinkholeCOWDict() try: - print da[10] + print(da[10]) assert False except KeyError: pass -- 2.16.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor