summaryrefslogtreecommitdiff
path: root/nova/__init__.py
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-06-19 14:41:42 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-06-19 14:41:42 -0400
commit95213244fe341b7ec2723b92a5b793e89ee8403f (patch)
treee81396e01d5c775fe78904425f7ce0837654b92e /nova/__init__.py
parentea64f883b74fa3c702a3c47d4508a1e7a7f6b40d (diff)
downloadnova-95213244fe341b7ec2723b92a5b793e89ee8403f.tar.gz
Cleaned up nova-api binary and logging a bit.
Diffstat (limited to 'nova/__init__.py')
-rw-r--r--nova/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/__init__.py b/nova/__init__.py
index 256db55a93..7b05611b94 100644
--- a/nova/__init__.py
+++ b/nova/__init__.py
@@ -30,3 +30,15 @@
.. moduleauthor:: Manish Singh <yosh@gimp.org>
.. moduleauthor:: Andy Smith <andy@anarkystic.com>
"""
+
+import gettext
+
+import log as logging
+
+
+def initialize():
+ gettext.install("nova", unicode=1)
+ logging.setup()
+
+
+initialize()