Message ID | 20180618225131.13113-2-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
Series | python: Revert sys.path hacks used for compat modules | expand |
On Mon, Jun 18, 2018 at 07:51:29PM -0300, Eduardo Habkost wrote: > 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> > --- > scripts/device-crash-test | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Regards, Daniel
diff --git a/scripts/device-crash-test b/scripts/device-crash-test index e6c233e9bf..52a2a613d4 100755 --- a/scripts/device-crash-test +++ b/scripts/device-crash-test @@ -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')
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> --- scripts/device-crash-test | 1 - 1 file changed, 1 deletion(-)