[Git-commits] [grml/grml2usb] 26cf63: Fix spelling.

meisterluk admin at lukas-prokop.at
Mon May 13 11:06:07 CEST 2013


  Branch: refs/heads/mika/pr4
  Home:   https://github.com/grml/grml2usb
  Commit: 26cf6332b95355d58220e8541cf8de896ce60c67
      https://github.com/grml/grml2usb/commit/26cf6332b95355d58220e8541cf8de896ce60c67
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Fix spelling.


  Commit: 7cef7442a8c4e6d2203ee146cb21e43d50625448
      https://github.com/grml/grml2usb/commit/7cef7442a8c4e6d2203ee146cb21e43d50625448
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Improve error handling.

In method unmount: If unmount impossible, write a message to logging
before it finally raises (fixes inconsistency with other error handling).

In method copy_bootloader_files: Provide an Exception instance to provide
an useful error message.


  Commit: 6990c85f9b7fd72562a5aa64e7de3d086769d933
      https://github.com/grml/grml2usb/commit/6990c85f9b7fd72562a5aa64e7de3d086769d933
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Wrap main method with try...except Exception construct.

This construct will catch any Exception and suppresses the backtrace.
Any error message is registered by logging before. In the current
commit this is already satisfied, but error message might get registered
twice.

Next we don't register error messages with logging before and move the
logging.critical message to the top-level except-Exception.


  Commit: 5276a2374013612a6ead6e9b1f18ea4f84105cec
      https://github.com/grml/grml2usb/commit/5276a2374013612a6ead6e9b1f18ea4f84105cec
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Provide top-level critical error message.

Instead of registering error message using the logging module before
raising the corresponding Exception, we use the Exception to provide
user-level error messages (and use logging.debug or logging.error to
store dev-level error messages before).

The main routine catches those exceptions and forwards the messages
to the logging module.


  Commit: 7b409afb354c914dfb74119136d4d36e43011508
      https://github.com/grml/grml2usb/commit/7b409afb354c914dfb74119136d4d36e43011508
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Fix typo.


  Commit: cdb4aa447297942b280ff7e91dd135c397a43db7
      https://github.com/grml/grml2usb/commit/cdb4aa447297942b280ff7e91dd135c397a43db7
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Fix FORMAT definition for logging module.

Level does not specify that only messages of this level are printed
out, but the minimum level. So a definition like this

    FORMAT = "Debug: %(asctime)-15s %(message)s"
    FORMAT = "%(asctime)-15s %(message)s"

misleads the user into thinking that every message printed out is
actually a debug message, which is not true.
We now use "%(message)s" for everything except verbose mode which
annotates the timestamp to the message.


  Commit: a06f95e130756c62301da0ef35c133e78c82ce2f
      https://github.com/grml/grml2usb/commit/a06f95e130756c62301da0ef35c133e78c82ce2f
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Bugfixes.

Several bugfixes concerning the error handling of the previous commits.


  Commit: fafa0d86e842217845ce314bec5199b0506d597c
      https://github.com/grml/grml2usb/commit/fafa0d86e842217845ce314bec5199b0506d597c
  Author: meisterluk <admin at lukas-prokop.at>
  Date:   2013-05-13 (Mon, 13 May 2013)

  Changed paths:
    M grml2usb

  Log Message:
  -----------
  Further bugfixes.

* Remove "Error:" prefix which will be added as "Critical:" anyway.
* Fix wrong usage of string formatting parameters.


Compare: https://github.com/grml/grml2usb/compare/26cf6332b953^...fafa0d86e842


More information about the Git-commits mailing list