From 21a0795ca7c4f4dbd6079c44f26f30caeecc948f Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Fri, 21 Apr 2017 22:41:52 +0200 Subject: prototypes: irati: use python built-in sleep function for sleeping --- rumba/prototypes/irati.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index a2ad4fc..958b4e8 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -24,6 +24,7 @@ import json import subprocess import os +import time import rumba.ssh_support as ssh import rumba.model as mod @@ -178,7 +179,7 @@ class Experiment(mod.Experiment): e['enroller'].name, e['lower_dif'].name) - subprocess.check_call('sleep 2'. split()) # Important! + time.sleep(1) # Important! e_args = {'ldif': self.dif_name(e['lower_dif']), 'dif': e['dif'].name, -- cgit v1.2.3