summaryrefslogtreecommitdiffstats
path: root/python/run-python-tests
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-10 13:17:50 +0100
committerRichard Jones <rjones@redhat.com>2010-04-10 13:43:18 +0100
commitcb9350019cc6382a35c98f522c9c4d221c92b605 (patch)
tree9bd1ad227b7d11fda6a9d2ef258df1c0c50fdeb1 /python/run-python-tests
parent440ad646cdf31bdb5ad2bc92fc51fa6df3fb9c63 (diff)
downloadlibguestfs-cb9350019cc6382a35c98f522c9c4d221c92b605.tar.gz
libguestfs-cb9350019cc6382a35c98f522c9c4d221c92b605.tar.xz
libguestfs-cb9350019cc6382a35c98f522c9c4d221c92b605.zip
daemon: More reliable parsing of the output from 'parted print'.
Previously we used strtok. However this has the problem that strtok considers multiple delimiter characters to be like a single delimiter, eg. "1:::2" would be parsed the same as "1:2". In other words, the previous code would skip over or fail if there are empty fields.
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions