• R/O
  • HTTP
  • SSH
  • HTTPS

shogi-server: コミット

shogi-server source


コミットメタ情報

リビジョン292deec976c70f8c42c29d34a1972c7672a27fef (tree)
日時2017-09-02 21:45:32
作者Daigo Moriwaki <daigo@debi...>
コミッターDaigo Moriwaki

ログメッセージ

Fix mk_gamke_results so that it skip incomplete record filesZ

変更サマリ

差分

--- a/mk_game_results
+++ b/mk_game_results
@@ -65,14 +65,14 @@ def grep(file)
6565 str = File.open(file, "r").read
6666 end
6767
68- black_name = ""
69- black_mark = ""
70- black_id = ""
71- white_name = ""
72- white_mark = ""
73- white_id = ""
74- state = ""
75- time = ""
68+ black_name = nil
69+ black_mark = nil
70+ black_id = nil
71+ white_name = nil
72+ white_mark = nil
73+ white_id = nil
74+ state = nil
75+ time = nil
7676 moves = 0
7777 str.each_line do |line|
7878 line.strip!
旧リポジトリブラウザで表示