Created
March 2, 2016 12:55
-
-
Save ak1211/2fedee584dafa73b9f9d to your computer and use it in GitHub Desktop.
対応する終了ログがない開始ログは,次回実行時に処理するためにその行をファイルディスクリプタ3番に送る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for item in itertools.ifilter(lambda it:it["terminate log"] == None, start_session_logs): | |
print >> unterminated_file, item["line"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment