Skip to content

BUG: fix missing new_branch_dir arg in upload_pdf - #5103

Merged
josef-pkt merged 1 commit into
statsmodels:masterfrom
jbrockmendel:toolint
Sep 5, 2018
Merged

josef-pkt merged 1 commit into
statsmodels:masterfrom
jbrockmendel:toolint

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

Only usage of upload_pdf is commented out, but includes a new_branch_dir arg, which is missing from the actual signature of upload_pdf. But new_branch_dir is needed in the function, and would raise NameError if hit. So this fixes the signature.

And fixes up a bunch of other unused stuff.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.898% when pulling e4269a6 on jbrockmendel:toolint into d27dbbd on statsmodels:master.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef-pkt can we push some of these through? Teamwork makes the dream work.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef-pkt bugfix here

@josef-pkt

Copy link
Copy Markdown
Member

the needle in the haystack:
+82 −64 of which +1 -1 is bugfix in unused part with no guarantee, assertion that the code works after the fix.

That's not the pattern for maintainer or reviewer friendly PRs.

In this case I don't care, so merging

@josef-pkt
josef-pkt merged commit db73bad into statsmodels:master Sep 5, 2018
@jbrockmendel

Copy link
Copy Markdown
Contributor Author

That's not the pattern for maintainer or reviewer friendly PRs.

It's been made clear that cleanup-only PRs are unwelcome; AFAICT this is the only way to Get This Over With.

In this case I don't care

Yah, its mostly unused code that probably shouldn't be in the repo anyway.

@jbrockmendel
jbrockmendel deleted the toolint branch September 5, 2018 23:25
@josef-pkt josef-pkt added this to the 0.10 milestone Sep 15, 2018
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.

3 participants