[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/8] trace: [tracetool] Spacing changes
From: |
Lluís Vilanova |
Subject: |
[Qemu-devel] [PATCH 3/8] trace: [tracetool] Spacing changes |
Date: |
Sun, 23 Feb 2014 20:37:13 +0100 |
User-agent: |
StGit/0.16 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
scripts/tracetool/__init__.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py
index bfe44bd..3cf7a4e 100644
--- a/scripts/tracetool/__init__.py
+++ b/scripts/tracetool/__init__.py
@@ -148,7 +148,8 @@ class Event(object):
unknown_props = set(self.properties) - self._VALID_PROPS
if len(unknown_props) > 0:
- raise ValueError("Unknown properties: %s" % ",
".join(unknown_props))
+ raise ValueError("Unknown properties: %s"
+ % ", ".join(unknown_props))
def copy(self):
"""Create a new copy."""
@@ -206,7 +207,7 @@ class TracetoolError (Exception):
pass
-def try_import(mod_name, attr_name = None, attr_default = None):
+def try_import(mod_name, attr_name=None, attr_default=None):
"""Try to import a module and get an attribute from it.
Parameters
@@ -233,7 +234,7 @@ def try_import(mod_name, attr_name = None, attr_default =
None):
def generate(fevents, format, backend,
- binary = None, probe_prefix = None):
+ binary=None, probe_prefix=None):
"""Generate the output for the given (format, backend) pair.
Parameters
- [Qemu-devel] [PATCH 0/8] Tracetool cleanup, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 1/8] trace: [tracetool] Add method 'Event.api' to build event names, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 2/8] trace: [tracetool] Add methods 'Event.copy' and 'Arguments.copy', Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 3/8] trace: [tracetool] Spacing changes,
Lluís Vilanova <=
- [Qemu-devel] [PATCH 4/8] trace: [tracetool] Cosmetic changes, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 6/8] trace: [tracetool] Change format docs to point to the generated file, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 5/8] trace: [tracetool] Show list of frontends and backends sorted by name, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 7/8] trace: [simple] Bump up log version number, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 8/8] trace: [tracetool] Minimize the amount of per-backend code, Lluís Vilanova, 2014/02/23