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

chpass-wrapper.py helper script for password plugin appears to be broken with python 3.9 #8324

Closed
sdondley opened this issue Nov 21, 2021 · 1 comment

Comments

@sdondley
Copy link

Can someone more knowledgeable with python please take a look at this:

https://stackoverflow.com/a/70051629/1641112

I'd be happy to supply a commit to patch this but I read about 2 chapters of a python book 10 years ago and haven't touched it since. If someone can confirm this a good fix, I'll do a pull request. Thanks.

@alecpl
Copy link
Member

alecpl commented Dec 18, 2021

Fixed.

The text argument does not work with Python < 3.7, so we have to use an alias universal_newlines. I tested the change on python 2.7 and 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants