|
@@ -66,6 +66,12 @@ EXIT_SUCCESS = 0 # everything done, no problems
|
|
|
EXIT_WARNING = 1 # reached normal end of operation, but there were issues
|
|
|
EXIT_ERROR = 2 # terminated abruptly, did not reach end of operation
|
|
|
|
|
|
+# never use datetime.isoformat(), it is evil. always use one of these:
|
|
|
+# datetime.strftime(ISO_FORMAT) # output always includes .microseconds
|
|
|
+# datetime.strftime(ISO_FORMAT_NO_USECS) # output never includes microseconds
|
|
|
+ISO_FORMAT_NO_USECS = '%Y-%m-%dT%H:%M:%S'
|
|
|
+ISO_FORMAT = ISO_FORMAT_NO_USECS + '.%f'
|
|
|
+
|
|
|
DASHES = '-' * 78
|
|
|
|
|
|
PBKDF2_ITERATIONS = 100000
|