A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
# Detect if executed under test | |
TESTING = any(test in sys.argv for test in ( | |
'test', 'csslint', 'jenkins', 'jslint', | |
'jtest', 'lettuce', 'pep8', 'pyflakes', | |
'pylint', 'sloccount', | |
)) | |
if TESTING: | |
# If testing, move the default DB to 'mysql' and replace it | |
# with a SQLite DB. |
import java.util.*; | |
import java.io.*; | |
import java.security.*; | |
public class ChangePassword | |
{ | |
private final static JKS j = new JKS(); | |
public static void main(String[] args) throws Exception | |
{ |