cinder/cinder/brick
Jay S. Bryant cbe1d5f5e2 Remove str() from LOG.* and exceptions
This commit removes the use of str() from LOG.* messages
and exceptions.

The reason we need to remove str() is because str() will fail if
it gets a Unicode string that has something that doesn't translate
to ASCII in it.  If such a situation is encountered you will lose
the message string in question.  In most cases, the use of str() is
unnecessary for LOG.* and exception messages.  Using %s is smart
enough to figure out what to do with what it is passed.  It first
tries to str() it, if this fails it falls back to using unicode.  Either
way, the result will then be something that gettextutils can
handle and translate.

Change-Id: I6eb81043edd9fa5e035d81ee81e8439340546d24
Closes-bug: 1274245
Related-bp: i18n-messages
2014-03-04 14:25:10 -06:00
..
initiator Fixed a problem in iSCSI multipath 2014-01-06 22:23:36 -05:00
iscsi Remove str() from LOG.* and exceptions 2014-03-04 14:25:10 -06:00
local_dev Deactivate LV before removing 2014-02-13 18:14:33 +01:00
remotefs Brick support for pNFS 2014-02-09 17:45:00 +05:30
README.txt This adds a README to brick 2013-09-04 16:08:05 -04:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
exception.py Brick fix BrickException message formatting 2014-02-07 13:33:13 -08:00
executor.py Remove vim header 2013-12-30 18:53:02 -06:00

README.txt

Brick is a new library that currently is maintained in Cinder for
the Havana release.   It will eventually be moved external to Cinder,
possibly oslo, or pypi.  Any defects found in Brick, should be submitted
against Cinder and fixed there, then pulled into other projects that
are using brick.

* Brick is used outside of Cinder and therefore
  cannot have any dependencies on Cinder and/or
  it's database.