YUKI Hiroshi
yuki****@clear*****
Tue Mar 31 10:52:10 JST 2015
おお……fの付かないprintがあるんですね……
Kouhei Sutou wrote:
>> + printf("%s", "#{" " * last_progress.size}\r")
>> + printf("%s", "#{progress}\r")
>
> print("#{" " * last_progress.size}\r")
> print("#{progress}\r")
>
> でよくない?
>
> In <e6656d483f8515082358b6a25d7efc95f52fcc7f �� jenkins.clear-code.com>
> "[Groonga-commit] droonga/droonga-engine �� e6656d4 [master] Output "100% done" after completely absorbed" on Fri, 27 Mar 2015 20:19:45 +0900,
> YUKI Hiroshi <null+groonga �� clear-code.com> wrote:
>
>> YUKI Hiroshi 2015-03-27 20:19:45 +0900 (Fri, 27 Mar 2015)
>>
>> New Revision: e6656d483f8515082358b6a25d7efc95f52fcc7f
>> https://github.com/droonga/droonga-engine/commit/e6656d483f8515082358b6a25d7efc95f52fcc7f
>>
>> Message:
>> Output "100% done" after completely absorbed
>>
>> Modified files:
>> bin/droonga-engine-absorb-data
>> bin/droonga-engine-join
>>
>> Modified: bin/droonga-engine-absorb-data (+3 -0)
>> ===================================================================
>> --- bin/droonga-engine-absorb-data 2015-03-27 20:05:39 +0900 (a44299c)
>> +++ bin/droonga-engine-absorb-data 2015-03-27 20:19:45 +0900 (473f28c)
>> @@ -190,6 +190,9 @@ class AbsorbDataCommand
>> last_progress = progress
>> end
>> end
>> + printf("%s", "#{" " * last_progress.size}\r")
>> + printf("%s", "#{progress}\r")
>> + puts "100% done"
>> puts ""
>>
>> response = run_remote_command(source_node, "report_metadata",
>>
>> Modified: bin/droonga-engine-join (+3 -0)
>> ===================================================================
>> --- bin/droonga-engine-join 2015-03-27 20:05:39 +0900 (394822f)
>> +++ bin/droonga-engine-join 2015-03-27 20:19:45 +0900 (249f1ad)
>> @@ -229,6 +229,9 @@ class JoinCommand
>> last_progress = progress
>> end
>> end
>> + printf("%s", "#{" " * last_progress.size}\r")
>> + printf("%s", "#{progress}\r")
>> + puts "100% done"
>> puts ""
>> end
>>
>
> _______________________________________________
> Groonga-commit mailing list
> Groonga-commit �� lists.sourceforge.jp
> http://lists.sourceforge.jp/mailman/listinfo/groonga-commit
>
--
結城 洋志 <YUKI Hiroshi>
E-mail: yuki �� clear-code.com
株式会社クリアコード
〒170-0005 東京都豊島区南大塚3-29-9
中野ビル3階
TEL : 03-5927-9440
FAX : 03-5927-9441
WWW : http://www.clear-code.com/