blob: 02b9acbabe2aa9b07d0b9dbcd999207841ec6491 (
plain) (
tree)
|
|
b0VIM 8.2 �}c�� � quentin lheureduthe ~quentin/Documents/dev/deuxfleurs/mknet/benchmarks/fragments/shared.py utf-8
3210 #"! U tp ad �
�
� � � � � � � I 3 &
� � @ �
�
�
�
}
g
U
S
raise Exceptio raise Exception("I raise Exception("ID must raise Exception("ID must be d raise Exception("ID must be defined") def count(): return int(os.environ['SERVER_COUNT']) def id(): return int(os.environ['ID']) raise Exception("Command terminated with an error too many times") if os.system(s) == 0: return time.sleep(i) # this is expected to sleep before running the command to reduce the noise for i in range(cnt): print(s) def retry(s, cnt=16): raise Exception("Command terminated with an error") if os.system(s) != 0: def exec(s): storage_path = "/tmp/mknet-store"
|