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

[osutils/freebsd.py] code refine and unit tests working list #20

Open
2 of 15 tasks
iblislin opened this issue Sep 4, 2015 · 0 comments
Open
2 of 15 tasks

[osutils/freebsd.py] code refine and unit tests working list #20

iblislin opened this issue Sep 4, 2015 · 0 comments

Comments

@iblislin
Copy link
Collaborator

iblislin commented Sep 4, 2015

When i wrote those code, i'm not quite understand programming in python. :(
So i will do some code refine now; comment welcomed! 😄

Working list:
Class FreeBSDUtils

Also, the naming of those functions (set_ and get_) are really non-pythonic style.
Maybe we should use property.

iblislin added a commit that referenced this issue Sep 4, 2015
iblislin added a commit that referenced this issue Sep 4, 2015
Also, using new style string formatter
iblislin added a commit that referenced this issue Sep 4, 2015
1. Using new style string formatter
2. Add helper function `isiterable`
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

No branches or pull requests

1 participant