Mailinglist Archive: yast-devel (78 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r66467 - in /branches/SuSE-Code-11-SP2-Branch/product-creator: VERSION package/yast2-product-creator.changes src/Kiwi.ycp
Dne St 19. října 2011 07:58:07 Ladislav Slezak napsal(a):
Dne 17.10.2011 14:04, jsuchome@xxxxxxxxxxxxxxxxx napsal(a):
+ ret_path = sformat ("%1/config%2.xml",
+ Directory::tmpdir,
+ mergestring (splitstring (xsl_file, "/ ."), "-"));

Um, why is there "/ ." -> "-" change? Looks strange, could you add
a comment so it's clear why the change is needed?

Because the resulting string is used for creating the file name. I think it
should be visible frm the code.

Jiri
--
Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References