Skip to content

Conversation

@PriceChild
Copy link
Contributor

Repeating the same fix in 35674c8 for pooled (With DBUtils) connections.

Repeating the same fix in 35674c8 for pooled (With DBUtils) connections.
@PriceChild
Copy link
Contributor Author

Found that the AttributeError exception was raised when running on Centos 6.2 (don't ask) with web.py & DBUtils installed via pip.

@iredmail
Copy link
Contributor

hi @PriceChild ,

is this change still required?

@PriceChild
Copy link
Contributor Author

@iredmail I believe so, yes.

I don't have the same environment around 6 years later, but reviewing the code quickly it looks like connections without DBUtils still fall back: https://github.com/webpy/webpy/blob/master/web/db.py#L1037 but those with pooling don't: https://github.com/webpy/webpy/blob/master/web/db.py#L1048

@iredmail iredmail merged commit 75d5b0e into webpy:master Sep 13, 2019
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