node.py fails to set some parameters
Bug #1009645 reported by
YAMAMOTO Hirotaka
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtslib (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Version: Ubuntu 12.04 LTS
Package: python-rtslib
Package Version: 2.1-2
Hi,
I found set_parameter method in rtslib.node.CFSNode class writes a trailing white space character after parameter value, which causes runtime errors for some parameters.
Examples are "InitialR2T" and "ImmediateData" parameters for rtslib.target.TPG objects.
tpg = rtslib.
tpg.set_
Expected:
success.
What happened:
rtslib.
Removing a trailing white space fixes this bug, see attached patch.
description: | updated |
To post a comment you must log in.
This bug affects targetcli package as well as it depends on this library.