summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:18 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:18 -0800
commitdc8018a5c3482008232e6faaa2d96cf20aed7485 (patch)
treea972ac4544e227397595baf6eeb30e1854f480fc /src/python
parentc8c82f09a282832d919f7eb073a47be838e65b29 (diff)
downloadgem5-dc8018a5c3482008232e6faaa2d96cf20aed7485.tar.xz
style: remove trailing whitespace
Result of running 'hg m5style --skip-all --fix-white -a'.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/util/__init__.py2
-rw-r--r--src/python/swig/event.i4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/python/m5/util/__init__.py b/src/python/m5/util/__init__.py
index 66ebb3cfe..3ff69d851 100644
--- a/src/python/m5/util/__init__.py
+++ b/src/python/m5/util/__init__.py
@@ -174,7 +174,7 @@ def readCommand(cmd, **kwargs):
no_exception = 'exception' in kwargs
exception = kwargs.pop('exception', None)
-
+
kwargs.setdefault('shell', False)
kwargs.setdefault('stdout', PIPE)
kwargs.setdefault('stderr', STDOUT)
diff --git a/src/python/swig/event.i b/src/python/swig/event.i
index cc72794ed..60a789c1a 100644
--- a/src/python/swig/event.i
+++ b/src/python/swig/event.i
@@ -57,11 +57,11 @@
pyevent->incref();
$self->schedule(event, when);
}
-
+
void
deschedule(Event *event)
{
- $self->deschedule(event);
+ $self->deschedule(event);
// Now that we're removing the python object from the event
// queue, we need to decrement its reference count.