Package list python-castellan / c434f03
Drop use of 'oslo' namespace package The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I52848a1f63cb4a1b30d9e1c32f4bb18c5d9fe80e Doug Hellmann 6 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1616 """
1717
1818 try:
19 import oslo.i18n
19 import oslo_i18n
2020
2121 # NOTE(dhellmann): This reference to o-s-l-o will be replaced by the
2222 # application name when this module is synced into the separate
2323 # repository. It is OK to have more than one translation function
2424 # using the same domain, since there will still only be one message
2525 # catalog.
26 _translators = oslo.i18n.TranslatorFactory(domain='castellan')
26 _translators = oslo_i18n.TranslatorFactory(domain='castellan')
2727
2828 # The primary translation function using the well-known name "_"
2929 _ = _translators.primary
1919 import stat
2020 import tempfile
2121
22 from oslo.utils import excutils
22 from oslo_utils import excutils
2323
2424 LOG = logging.getLogger(__name__)
2525