device-crash-test: No need for sys.path hack
The device-crash-test script is already inside the 'scripts' directory, there's no need to add the directory manually to sys.path. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20180618225131.13113-2-ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
dafd950536
commit
8d0ea57ad4
@ -35,7 +35,6 @@ import random
|
||||
import argparse
|
||||
from itertools import chain
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'scripts'))
|
||||
from qemu import QEMUMachine
|
||||
|
||||
logger = logging.getLogger('device-crash-test')
|
||||
|
Loading…
Reference in New Issue
Block a user