[ https://issues.apache.org/jira/browse/IGNITE-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikolay Tikhonov resolved IGNITE-6660. -------------------------------------- Resolution: Fixed [~oleg-ostanin], Thank you for your contribution! I've merged your changes to master. > Python Redis example fails for python 3 run > ------------------------------------------- > > Key: IGNITE-6660 > URL: https://issues.apache.org/jira/browse/IGNITE-6660 > Project: Ignite > Issue Type: Bug > Security Level: Public(Viewable by anyone) > Components: examples > Affects Versions: 1.8, 1.9, 2.0, 2.1, 2.2 > Reporter: Sergey Kozlov > Assignee: Oleg Ostanin > Fix For: 2.3 > > > Looks like python redis example fails due to design python 2. But for python > 3 run raised the following error: > {noformat} > File > "/var/lib/teamcity/data/work/17028f058b6ef75f/i2test/var/suite-examples/gg-pro-fab/examples/redis/redis-example.py", > line 32 > print 'Value for "k1": %s' % r.get('k1') > ^ > SyntaxError: invalid syntax > {noformat} > The suggested fix is to put brackets for print calls: > -{{print 'Value for "k1": %s' % r.get('k1')}}- > {{print('Value for "k1": %s' % r.get('k1'))}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)