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

Removed if condition for setting self.publisher from CounterEresource #27

Merged
merged 1 commit into from
Feb 5, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 4, 2016

ItemPublisher is listed in schema with minOccurs="0"
Not required for every field for valid Counter report
When if condition fails and self.publisher is not set various methods
such as CounterReport.write_tsv throw AttributeError exceptions because
they assume self.publisher.
Causes failure of writing and reading reports from some Counter compliant
vendors.

… class

ItemPublisher is listed in schema with minOccurs="0"
Not required for every field for valid Counter report
When if condition fails and self.publisher is not set various methods
such as CounterReport.write_tsv throw AttributeError exceptions because
they assume self.publisher.
Causes failure of writing and reading reports from some Counter compliant
vendors.
@Wooble Wooble added the bug label Feb 5, 2016
Wooble added a commit that referenced this pull request Feb 5, 2016
Removed if condition for setting self.publisher from CounterEresource
@Wooble Wooble merged commit be5d648 into pitthsls:master Feb 5, 2016
@ghost ghost deleted the publisher-fix branch April 22, 2016 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant