diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-21 22:41:52 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-04-21 22:41:52 +0200 |
commit | 21a0795ca7c4f4dbd6079c44f26f30caeecc948f (patch) | |
tree | 3eb1bb92232435183c1c67dfffbf31191549f830 | |
parent | b9ed9ecc236d58f7c0426fd797a17d35b065c96a (diff) | |
download | rumba-21a0795ca7c4f4dbd6079c44f26f30caeecc948f.tar.gz rumba-21a0795ca7c4f4dbd6079c44f26f30caeecc948f.zip |
prototypes: irati: use python built-in sleep function for sleeping
-rw-r--r-- | rumba/prototypes/irati.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |