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
python3 and pep8 support for arcstat and dbuffstat #1838
Conversation
I could only go back to python 2.6 support though. I checked my modifications and I think 2.5 is good as well. Dunno how far back you guys go. Tested 2.6 2.7 and 3.2 |
@prometheanfire I'm fine with these changes and glad to see someone familiar with python taking an interest is cleaning this up. However, I can't merge this until you run down the error observed in dbufstat.py. When you fix that error please rebase this branch against master and squash the related committed together. I'm OK with either one big patch for these style fixes or if you prefer break them up by type. Just force push the new branch to github to update the pull request. |
ya, been trying to get an ubuntu 12.04 server up with the daily ppa, but can't create a pool :(
gonna try centos next |
making the code easier to deal with Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
future proofing Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
@prometheanfire Much better, thank you I'll merge it shortly. |
Update the code to follow the pep8 style guide. References: http://www.python.org/dev/peps/pep-0008/ Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1838
Future proofing for compatibility with newer versions of Python. Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1838
Future proofing for compatibility with newer versions of Python. Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1838 Conflicts: cmd/dbufstat/dbufstat.py
Update the code to follow the pep8 style guide. References: http://www.python.org/dev/peps/pep-0008/ Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1838
Future proofing for compatibility with newer versions of Python. Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1838
I tested it a bit as well. Looks good to me :D