Skip to content

Fix importing compressed log files #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2020
Merged

Fix importing compressed log files #288

merged 2 commits into from
Nov 19, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Nov 17, 2020

fixes #287

@sgiehl sgiehl added this to the Current sprint milestone Nov 17, 2020
@sgiehl sgiehl requested a review from diosmosis November 17, 2020 14:45
Copy link
Member

@diosmosis diosmosis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, left one comment

assert hits[0]['path'] == '/'
assert hits[0]['status'] == '301'
assert hits[0]['length'] == 368
assert hits[0]['userid'] == 'theuser'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think we can change some of the data in the bz2 test? just to show that the global state was reset properlly

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure. makes sense. will change that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diosmosis done. Is that good to merge then?

@diosmosis diosmosis merged commit 85b9e5d into 4.x-dev Nov 19, 2020
@diosmosis diosmosis deleted the fixarchiveimport branch November 19, 2020 05:19
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import *.gz files: UnboundLocalError: local variable 'file' referenced before assignment
3 participants