summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
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.