Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
yast2-printer
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-printer
--- src/modules/Printer.rb.orig 2014-05-09 11:52:53.000000000 +0200 +++ src/modules/Printer.rb 2014-05-15 11:44:45.035771771 +0200 @@ -1560,10 +1560,7 @@ module Yast driver_string = Ops.add(Ops.add(Ops.add(nickname, " ["), ppd), "]") # Take the filter_string into account: if "" == driver_filter_string - driver_items = Builtins.add( - driver_items, - Item(Id(ppds_index), driver_string) - ) + driver_items << Item(Id(ppds_index), driver_string) else # test whether nickname or deviceID matches to the driver_filter_string. # Only the special character '+' is also taken into account because @@ -1581,10 +1578,7 @@ module Yast ) if Builtins.regexpmatch(unified_nickname, driver_filter_string) || Builtins.regexpmatch(unified_deviceID, driver_filter_string) - driver_items = Builtins.add( - driver_items, - Item(Id(ppds_index), driver_string) - ) + driver_items << Item(Id(ppds_index), driver_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