Skip to content
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

add encoding option to areas where open() is used #322

Merged
merged 2 commits into from
Jan 16, 2020

Conversation

emmanvg
Copy link
Contributor

@emmanvg emmanvg commented Jan 15, 2020

Added encoding option to FileSystemSource and MemorySource in areas where open() is used. Default is 'utf-8'

closes #321

@emmanvg emmanvg added this to the 1.3.1 milestone Jan 15, 2020
@codecov-io
Copy link

codecov-io commented Jan 15, 2020

Codecov Report

Merging #322 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
+ Coverage   98.17%   98.17%   +<.01%     
==========================================
  Files         123      123              
  Lines       14159    14160       +1     
==========================================
+ Hits        13901    13902       +1     
  Misses        258      258
Impacted Files Coverage Δ
stix2/datastore/filesystem.py 93% <100%> (+0.02%) ⬆️
stix2/datastore/memory.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b17ac3b...c467f19. Read the comment docs.

Copy link
Contributor

@clenk clenk left a comment

Choose a reason for hiding this comment

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

LGTM; thanks @emmanvg!

@clenk clenk merged commit 0af1f44 into oasis-open:master Jan 16, 2020
@emmanvg emmanvg deleted the 321-issue branch January 16, 2020 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileSystemSource lacks ability to pass an encoding when files are read
3 participants