Skip to content

Commit a7fb596

Browse files
committed
Fix documentation examples. Release preparation
1 parent b8394fc commit a7fb596

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

NEWS.txt

+8
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@ News
77
*Release date: 18-Sep-2013*
88

99
* Initial release
10+
11+
12+
0.2.0
13+
-----
14+
15+
*Release data: 30-Sep-2013*
16+
17+
* Allow fetching of multiple keys (sub-nodes)

README.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Get a key
4747

4848
.. code:: python
4949
50-
client.get('/nodes/n2')['value']
50+
client.get('/nodes/n2').value
5151
5252
Delete a key
5353
~~~~~~~~~~~~
@@ -75,8 +75,12 @@ List sub keys
7575

7676
.. code:: python
7777
78+
# List nodes in the cluster
7879
client.get('/nodes')
7980
81+
# List keys under /subtree
82+
client.get('/subtree')
83+
8084
Get machines in the cluster
8185
~~~~~~~~~~~~~~~~~~~~~~~~~~~
8286

docs-source/index.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Get a key
5353

5454
.. code:: python
5555
56-
client.get('/nodes/n2')['value']
56+
client.get('/nodes/n2').value
5757
5858
5959
Delete a key
@@ -85,8 +85,12 @@ List sub keys
8585

8686
.. code:: python
8787
88+
# List nodes in the cluster
8889
client.get('/nodes')
8990
91+
# List keys under /subtree
92+
client.get('/subtree')
93+
9094
9195
Get machines in the cluster
9296
...........................
@@ -144,6 +148,8 @@ To make a release,
144148
5) Increase version in setup.py (for next release)
145149

146150

151+
List of contributors at https://github.com/jplana/python-etcd/graphs/contributors
152+
147153
Code documentation
148154
------------------
149155

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
77

88

9-
version = '0.1'
9+
version = '0.2.0'
1010

1111
install_requires = ['urllib3==1.7']
1212

0 commit comments

Comments
 (0)