27 Aug
2015
27 Aug
'15
07:18
Hi all, Yesterday I added a Mode#auto method which returns true when we're in autoinst or autoupgrade mode. The main reason for adding this new method is that we have many places when we should check for "Mode.autoinst || Mode.autoupgrade" and, sometimes, we forget about the last part (we have found some issues in yast2-kdump module because of that). Take into account that this method is in 'master' only and is not released yet. BTW, I added some tests for the Mode module. Regards, Imo PS: https://github.com/yast/yast-yast2/pull/396 -- Imobach González Sosa YaST Team at SUSE LINUX GmbH