Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(473)

Issue 333210043: [plaso] Changed tagging file to be read as UTF-8 #1478 and made CLI helper fail on error (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 4 months ago by Joachim Metz
Modified:
6 years, 4 months ago
Reviewers:
aaronp, onager
CC:
jberggren, romaing, kiddi, log2timeline-dev_googlegroups.com
Visibility:
Public.

Description

[plaso] Changed tagging file to be read as UTF-8 #1478 and made CLI helper fail on error

Patch Set 1 #

Total comments: 10

Patch Set 2 : Changes after review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -77 lines) Patch
M plaso/analysis/tagging.py View 1 6 chunks +39 lines, -33 lines 0 comments Download
M plaso/cli/helpers/tagging_analysis.py View 1 1 chunk +27 lines, -14 lines 0 comments Download
M plaso/lib/errors.py View 1 chunk +4 lines, -0 lines 0 comments Download
D test_data/invalid_test_tag_file.txt View 1 chunk +0 lines, -9 lines 0 comments Download
A + test_data/tagging_file/invalid_encoding.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A + test_data/tagging_file/invalid_syntax.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test_data/tagging_file/valid.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
D test_data/test_tag_file.txt View 1 chunk +0 lines, -15 lines 0 comments Download
M tests/analysis/tagging.py View 5 chunks +12 lines, -7 lines 0 comments Download
M tests/cli/helpers/tagging_analysis.py View 3 chunks +27 lines, -0 lines 0 comments Download
M tests/cli/tool_options.py View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Joachim Metz
6 years, 4 months ago (2017-12-02 12:43:14 UTC) #1
onager
https://codereview.appspot.com/333210043/diff/1/plaso/analysis/tagging.py File plaso/analysis/tagging.py (right): https://codereview.appspot.com/333210043/diff/1/plaso/analysis/tagging.py#newcode88 plaso/analysis/tagging.py:88: with io.open(tagging_file_path, 'r', encoding='utf-8') as file_object: as tagging_file https://codereview.appspot.com/333210043/diff/1/plaso/analysis/tagging.py#newcode99 ...
6 years, 4 months ago (2017-12-02 20:21:44 UTC) #2
Joachim Metz
https://codereview.appspot.com/333210043/diff/1/plaso/analysis/tagging.py File plaso/analysis/tagging.py (right): https://codereview.appspot.com/333210043/diff/1/plaso/analysis/tagging.py#newcode88 plaso/analysis/tagging.py:88: with io.open(tagging_file_path, 'r', encoding='utf-8') as file_object: Seeing that the ...
6 years, 4 months ago (2017-12-03 06:06:35 UTC) #3
Joachim Metz
Code updated.
6 years, 4 months ago (2017-12-03 06:21:26 UTC) #4
onager
LGTM
6 years, 4 months ago (2017-12-09 14:47:18 UTC) #5
Joachim Metz
6 years, 4 months ago (2017-12-09 16:19:31 UTC) #6
Changes have been merged with master branch. To close the review and clean up
the feature branch you can run: review.py close tagging
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b