diff options
author | 2015-02-23 18:02:04 -0800 | |
---|---|---|
committer | 2015-02-23 18:02:04 -0800 | |
commit | 141a6a0ac540063ff2207f13472aec10141a3a95 (patch) | |
tree | d9419fb8e0e5b345547420bd94ff86309d9bcced | |
parent | Ability to turn off the progress bar. (diff) | |
download | backend-141a6a0ac540063ff2207f13472aec10141a3a95.tar.gz backend-141a6a0ac540063ff2207f13472aec10141a3a95.tar.bz2 backend-141a6a0ac540063ff2207f13472aec10141a3a95.zip |
My ruby is rusty.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | ag | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,7 +139,7 @@ def do_full messages = $maildir.list(:cur) opts = { - :in_processes: Ag::Utils.proc_count, + :in_processes => Ag::Utils.proc_count, } opts[:progress] = "Importing #{$options.name}" if $options.progress Parallel.each(messages, opts) do |maildir_message| @@ -160,7 +160,7 @@ def do_incremental messages = $maildir.list(:cur) opts = { - :in_processes: Ag::Utils.proc_count, + :in_processes => Ag::Utils.proc_count, } opts[:progress] = "Importing #{$options.name}" if $options.progress Parallel.each(messages, opts) do |maildir_message| |