diff options
| author | Eric Day <eday@oddments.org> | 2010-10-26 23:53:55 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-10-26 23:53:55 +0000 |
| commit | eb82a8a7d8220adf31db3afb46849f24924ec973 (patch) | |
| tree | 15f3f24284c07e4e115f67b84c3bca2841d37189 /nova/utils.py | |
| parent | fd68eec1364a107c92453f753681ae5096451f39 (diff) | |
| parent | d8d12549a5e47c7c44f449f12d6b556e2c56483d (diff) | |
| download | nova-eb82a8a7d8220adf31db3afb46849f24924ec973.tar.gz nova-eb82a8a7d8220adf31db3afb46849f24924ec973.tar.xz nova-eb82a8a7d8220adf31db3afb46849f24924ec973.zip | |
Fixes PEP8 violations from the last few merges.
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nova/utils.py b/nova/utils.py index 2c53b027e..bc495a691 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -213,10 +213,10 @@ def deferredToThread(f): def xhtml_escape(value): """Escapes a string so it is valid within XML or XHTML. - + Code is directly from the utf8 function in http://github.com/facebook/tornado/blob/master/tornado/escape.py - + """ return saxutils.escape(value, {'"': """}) @@ -232,4 +232,3 @@ def utf8(value): return value.encode("utf-8") assert isinstance(value, str) return value - |
