ref: refs/heads/master
commit 7ed51325bf4e99d3130732522555a3b39b89e03e
Author: Ján Kupec
Date: Fri Dec 4 13:49:20 2009 +0100
trim command string before passing to ZypperCommand
---
src/Config.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Config.cc b/src/Config.cc
index 4613eb7..69d02a2 100644
--- a/src/Config.cc
+++ b/src/Config.cc
@@ -148,9 +148,9 @@ void Config::read(const string & file)
else
{
list<string> cmdstr;
- zypp::str::split(s, std::back_inserter(cmdstr), ",");
+ str::split(s, std::back_inserter(cmdstr), ",");
for_(c, cmdstr.begin(), cmdstr.end())
- solver_forceResolutionCommands.insert(ZypperCommand(*c));
+ solver_forceResolutionCommands.insert(ZypperCommand(str::trim(*c)));
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org