Skip to content

Commit 2c215e0

Browse files
Fixed some docs
1 parent 37b141b commit 2c215e0

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

SoftLayer/CCI.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ def _generate_create_dict(
242242
]
243243

244244
# disk 1 is reservered for swap
245+
# XXX: enumerate(iterator, start=0) was added in 2.6. work around
246+
# for 2.5 by adding 2 to the enumerated value
245247
for dev_id, disk in enumerate(disks[1:]):
246248
data['blockDevices'].append(
247249
{

docs/cli/dev.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ A minimal implementation for `sl example print` would look like this:
9797

9898
Which in turn, works like this:
9999
::
100+
100101
$ sl example print
101102
EXAMPLE!
102103
$ sl example print -h

0 commit comments

Comments
 (0)