from functools import wraps
import json
from log import LOG
+from math import isnan
import os
import re
import signal
return flow_count * multiplier
+def cast_integer(value):
+ return int(value) if not isnan(value) else value
+
+
class RunLock(object):
"""
Attempts to lock file and run current instance of NFVbench as the first,