fix a typo in format_cpu_spec doc

It allow_ranges is true -> If allow_ranges is true

Change-Id: Ia285c1dfb851a652f36e8ce1adb7c0e88853ac3a
Closes-Bug:#1712763
This commit is contained in:
liu-lixiu
2017-08-24 16:30:05 +08:00
parent d6de0e57c2
commit ca62a3c844

View File

@@ -120,7 +120,7 @@ def format_cpu_spec(cpuset, allow_ranges=True):
"""Format a libvirt CPU range specification.
Format a set/list of CPU indexes as a libvirt CPU range
specification. It allow_ranges is true, it will try to detect
specification. If allow_ranges is true, it will try to detect
continuous ranges of CPUs, otherwise it will just list each CPU
index explicitly.