[
https://issues.apache.org/jira/browse/ZOOKEEPER-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140207#comment-16140207
]
Frederic Leger commented on ZOOKEEPER-2777:
-------------------------------------------
The issue is very simple in fact :)
Someone replace all call to {{print a string}} with {{print(a string)}} Which
should apply only to code, not to comments :)
So basically, replacing :
def pp_zk(handle,root, indent = 0):
"""Pretty print(a zookeeper tree, starting at root""")
With :
def pp_zk(handle,root, indent = 0):
"""Pretty print a zookeeper tree, starting at root"""
Should be the fix :)
Hope this helps.
> There is a typo in zk.py which prevents from using/compiling it.
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-2777
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2777
> Project: ZooKeeper
> Issue Type: Bug
> Components: contrib
> Affects Versions: 3.4.10
> Environment: Linux
> Reporter: Frederic Leger
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> While trying to create an RPM from zookeeper 3.4.10, I got an error when it
> tried to compile the file :
> zookeeper/contrib/zkpython/src/python/zk.py", line 55
> """Pretty print(a zookeeper tree, starting at root""")
> ^
> SyntaxError: invalid syntax
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)