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

Make sure children_loaded is checked everywhere it is needed #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

libre-man
Copy link
Contributor

Description

Make sure children_loaded is checked everywhere it is needed.

@codecov
Copy link

codecov bot commented Nov 13, 2017

Codecov Report

Merging #10 into master will decrease coverage by 0.07%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   94.94%   94.87%   -0.08%     
==========================================
  Files           2        2              
  Lines        1247     1248       +1     
==========================================
  Hits         1184     1184              
- Misses         63       64       +1
Impacted Files Coverage Δ
cgfs.py 94.55% <50%> (-0.09%) ⬇️

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 a87cc04...33f41df. Read the comment docs.

@@ -1258,6 +1258,7 @@ def get_submission(self, path):
try:
submission.tld
except AttributeError:
assert submission.children_loaded
Copy link
Contributor

Choose a reason for hiding this comment

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

Why assert this here? I thought this should be set in load_submission_files which is called after this...

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.

2 participants