From e8cc61bbaa6bb49b1797249c759530a50b2842ad Mon Sep 17 00:00:00 2001 From: Vasyl Saienko Date: Tue, 12 Jul 2016 16:34:05 +0300 Subject: [PATCH] Fix Quick-start example syntax. This patch fixes syntax of example provided by documentation. Change-Id: I2f6a5361a2dd4af1357a99e470eef2eed9a6b4cd --- README.rst | 2 +- doc/source/api_v1.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index d559d8a01..8dc7d035a 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,7 @@ Python API Quick-start Example:: >>> from ironicclient import client >>> - >>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155' + >>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155', >>> 'ironic_url': 'http://ironic.example.org:6385/'} >>> ironic = client.get_client(1, **kwargs) diff --git a/doc/source/api_v1.rst b/doc/source/api_v1.rst index 631f9117a..d2e2c68fd 100644 --- a/doc/source/api_v1.rst +++ b/doc/source/api_v1.rst @@ -39,7 +39,7 @@ To create the client, you can use the API like so:: >>> from ironicclient import client >>> - >>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155' + >>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155', >>> 'ironic_url': 'http://ironic.example.org:6385/'} >>> ironic = client.get_client(1, **kwargs)