From dc8018a5c3482008232e6faaa2d96cf20aed7485 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 6 Feb 2016 17:21:18 -0800 Subject: style: remove trailing whitespace Result of running 'hg m5style --skip-all --fix-white -a'. --- src/python/m5/util/__init__.py | 2 +- src/python/swig/event.i | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/python') 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. -- cgit v1.2.3