Code Review
/
escalator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
escalator should use oslo.xxx instead of oslo-xxx
[escalator.git]
/
api
/
escalator
/
notifier.py
diff --git
a/api/escalator/notifier.py
b/api/escalator/notifier.py
index
1e6ea02
..
60a39ea
100644
(file)
--- a/
api/escalator/notifier.py
+++ b/
api/escalator/notifier.py
@@
-14,9
+14,9
@@
# License for the specific language governing permissions and limitations
# under the License.
# License for the specific language governing permissions and limitations
# under the License.
-from oslo
_
config import cfg
-from oslo
_
log import log as logging
-import oslo
_
messaging
+from oslo
.
config import cfg
+from oslo
.
log import log as logging
+import oslo
.
messaging
from escalator import i18n
from escalator import i18n
@@
-44,7
+44,7
@@
LOG = logging.getLogger(__name__)
def get_transport():
def get_transport():
- return oslo
_
messaging.get_transport(CONF)
+ return oslo
.
messaging.get_transport(CONF)
class Notifier(object):
class Notifier(object):
@@
-53,7
+53,7
@@
class Notifier(object):
def __init__(self):
publisher_id = CONF.default_publisher_id
self._transport = get_transport()
def __init__(self):
publisher_id = CONF.default_publisher_id
self._transport = get_transport()
- self._notifier = oslo
_
messaging.Notifier(self._transport,
+ self._notifier = oslo
.
messaging.Notifier(self._transport,
publisher_id=publisher_id)
def warn(self, event_type, payload):
publisher_id=publisher_id)
def warn(self, event_type, payload):