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

[fec-] fix diving into row sheets #2434

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

midichef
Copy link
Contributor

Closes #2433.

Also takes open_fec() out of the global namespace. It's a trivial change. I found open_fec() in the global namespace when I was looking for stray functions of the form open_*() and save_*().

@@ -230,7 +210,7 @@ class FECFiling(Sheet):
@asyncthread
def reload(self):
from fecfile import fecparser
self.rows = []
self.rows = [] # rowdef: Sheet, of a type from COMPONENT_SHEET_CLASSES.values()
Copy link
Owner

Choose a reason for hiding this comment

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

In general if the rowdef is a Sheet then the parent class is IndexSheet, which provides default columns and other functionality. I'm not sure if it applies here but it might be worth exploring.

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.

[fec] opening rows in FEC files does not seem to work
2 participants