This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch site-update
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/site-update by this push:
     new 9c76c44  fix: example of Python client Syntax error (#5697)
9c76c44 is described below

commit 9c76c44440010cd180d3da240ebe6ef0841dd8f7
Author: wangyunpeng666 <[email protected]>
AuthorDate: Wed Nov 20 01:59:45 2019 +0800

    fix: example of Python client Syntax error (#5697)
    
    fix: example of Python client Syntax error
---
 site2/docs/security-token-client.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site2/docs/security-token-client.md 
b/site2/docs/security-token-client.md
index 204cdca..ac93b48 100644
--- a/site2/docs/security-token-client.md
+++ b/site2/docs/security-token-client.md
@@ -75,7 +75,7 @@ PulsarClient client = PulsarClient.builder()
 ```python
 from pulsar import Client, AuthenticationToken
 
-client = Client('pulsar://broker.example.com:6650/'
+client = Client('pulsar://broker.example.com:6650/',
                 
authentication=AuthenticationToken('eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJKb2UifQ.ipevRNuRP6HflG8cFKnmUPtypruRC4fb1DWtoLL62SY'))
 ```
 
@@ -87,7 +87,7 @@ def read_token():
     with open('/path/to/token.txt') as tf:
         return tf.read().strip()
 
-client = Client('pulsar://broker.example.com:6650/'
+client = Client('pulsar://broker.example.com:6650/',
                 authentication=AuthenticationToken(read_token))
 ```
 

Reply via email to