Revision 80a8fa62 util/unpep8

View differences:

util/unpep8
1 1
#!/usr/bin/python
2 2

  
3 3
"""
4
unpep8: 
5

  
6 4
Translate from PEP8 Python style to Mininet (i.e. Arista-like) 
7
Python style:
5
Python style
6

  
7
usage: unpep8 < old.py > new.py
8 8

  
9
- Reinstates CapWords for methods and instance variables.
10
- Gets rid of triple single quotes.
11
- Eliminates triple quotes on single lines.
12
- Inserts extra spaces to improve readability.
13
- Fixes Doxygen (or doxypy) ugliness.
9
- Reinstates CapWords for methods and instance variables
10
- Gets rid of triple single quotes
11
- Eliminates triple quotes on single lines
12
- Inserts extra spaces to improve readability
13
- Fixes Doxygen (or doxypy) ugliness
14 14

  
15 15
Does the following translations:
16 16

  

Also available in: Unified diff