This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
""" | |
package.module | |
~~~~~~~~~~~~~ | |
A description which can be long and explain the complete | |
functionality of this module even with indented code examples. | |
Class/Function however should not be documented here. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
""" | |
package.module | |
~~~~~~~~~~~~~ | |
A description which can be long and explain the complete | |
functionality of this module even with indented code examples. | |
Class/Function however should not be documented here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: ascii -*- | |
""" | |
package.module | |
~~~~~~~~~~~~~ | |
A description which can be long and explain the complete | |
functionality of this module even with indented code examples. | |
Class/Function however should not be documented here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Module Docstring | |
""" | |
# | |
## Code goes here. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: ascii -*- | |
""" | |
Module Docstring | |
Docstrings: http://www.python.org/dev/peps/pep-0257/ | |
""" | |
__author__ = 'Joe Author ([email protected])' | |
__copyright__ = 'Copyright (c) 2009-2010 Joe Author' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# not working | |
def svn_commit(): | |
"""commit any changes to svn""" | |
mod = local('svn st -q',capture=True) | |
if mod != '': | |
print "Modified:" | |
print mod | |
#working |
NewerOlder