ref: refs/heads/master
commit cd236c85c9e292590e8f56b882ce07ec94034a9c
Author: Martin Vidner
Date: Tue Jul 7 13:02:02 2009 +0200
Explicitly specify "string" in BSV parameters.
"" used to mean "string" but that was broken in yast2-core-2.18.5.
---
webservice/lib/scr.rb | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/webservice/lib/scr.rb b/webservice/lib/scr.rb
index 0ffa61e..1c7e969 100644
--- a/webservice/lib/scr.rb
+++ b/webservice/lib/scr.rb
@@ -24,15 +24,15 @@ class Scr
def read (path, arg = "")
ret = @scr.Read([false, "path", ["s",path] ],
- [false, (arg.empty? ? "" : "string"), ["s",arg] ],
- [false, "", ["s",""] ])
+ [false, "string", ["s",arg] ],
+ [false, "string", ["s",""] ])
return ret[0][2]
end
def write (path, value, arg = "")
@scr.Write([false, "path", ["s",path] ],
- [false, "", ["s",value] ],
- [false, "", ["s",arg] ])
+ [false, "string", ["s",value] ],
+ [false, "string", ["s",arg] ])
end
def execute (arguments, environment=[] )
@@ -55,8 +55,8 @@ class Scr
command += " #{exit}"
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org