Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
yast2-scanner
use_fast_append_instead_of_slow_add.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use_fast_append_instead_of_slow_add.diff of Package yast2-scanner
--- src/modules/Scanner.rb.orig 2013-11-04 16:47:09.000000000 +0100 +++ src/modules/Scanner.rb 2014-05-15 16:41:06.034437352 +0200 @@ -1794,20 +1794,14 @@ module Yast end # Take the filter_string into account: if "" == filter_string - model_items = Builtins.add( - model_items, - Item(Id(database_index), model_string) - ) + model_items << Item(Id(database_index), model_string) else # test whether the model_string matches to the filter_string: if Builtins.regexpmatch( Builtins.tolower(model_string), Builtins.tolower(filter_string) ) - model_items = Builtins.add( - model_items, - Item(Id(database_index), model_string) - ) + model_items << Item(Id(database_index), model_string) end end end
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor