summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2010-11-15 14:43:50 -0500
committerTodd Willey <todd@ansolabs.com>2010-11-15 14:43:50 -0500
commitf2c84807600dd49458e7b342b70a4bb8f1bb2232 (patch)
tree06ee7da4a41b178023b564fdbbdca182a91a1465
parentdf185d5b491e1ccfa142dea9f1e41da5ef8c741a (diff)
pep8
-rw-r--r--nova/service.py3
-rw-r--r--nova/utils.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/nova/service.py b/nova/service.py
index 0eb3a2762..9454d4049 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -19,7 +19,8 @@
"""
A service is a very thin wrapper around a Manager object. It exposes the
manager's public methods to other components of the system via rpc. It will
-report state periodically to the database and is responsible for initiating any periodic tasts that need to be executed on a given host.
+report state periodically to the database and is responsible for initiating
+any periodic tasts that need to be executed on a given host.
This module contains Service, a generic baseclass for all workers.
"""
diff --git a/nova/utils.py b/nova/utils.py
index d7ebe5b4c..1207f52a4 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -234,6 +234,7 @@ def utf8(value):
assert isinstance(value, str)
return value
+
def fix_wsgify_docstr(wsgified_func):
"""A decorator to re-assign docstrings that webob.dec.wsgify clobbers."""
@functools.wraps(wsgified_func.func)