9 Commits
Author SHA1 Message Date
Brad WarrenandGitHub e194e0dd5f Refactoring for better logging (#4444)
* Move colored_logging.py to log.py

* Add atexit.register code to util

* Add tests for atexit_register

* Copy except_hook to log

* Add pre_arg_setup

* move setup_log_file_handler to log.py

* Add post_arg_setup

* move changes to main

* Undo changes to MainTest

* s/pre_arg_setup/pre_arg_parse_setup

* s/post_arg_setup/post_arg_parse_setup
2017-03-30 16:17:57 -07:00
dokazakiandBrad Warren 8011fb2879 Add mypy (#4386)
* Initial configuration of mypy in box, correction of base mypy errors.

* Move mypy install to toe

* Add pylint comments for typing imports.

* Remove typing module for Python 2.6 compatibility.
2017-03-18 19:10:10 -07:00
Amjad Mashaal 7f9a8f0f08 Adjusting logging level of certain messages 2016-06-10 06:33:11 +02:00
bmw fcc4622b6d Merge pull request #3005 from lamby/reproducible-documentation
Don't call os.pid() the default kwargs to atexit_print_messages
2016-05-31 12:05:16 -07:00
Chris Lamb b247687517 Don't call os.pid() the default kwargs to atexit_print_messages
Whilst it has no side-effects, this results in non-reproducible output when
generating the certbot documentation:

    http://i.imgur.com/Q6VGi9S.jpg

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2016-05-28 10:45:57 +01:00
Peter Eckersley 61e0e3cc83 Merge pull request #3073 from cowlicks/rename-le-util
Rename certbot.le_util to certbot.util
2016-05-27 14:37:36 -07:00
Blake Griffith d9d2377242 Rename certbot.le_util to certbot.util
Also rename certbot/tests/le_util_test.py to certbot/tests/util_test.py
2016-05-25 18:50:02 -05:00
Amjad Mashaal 0999705691 Fixing wrapping for messages with URLs 2016-05-25 22:58:16 +02:00
Brad Warren 3961b70deb s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00