summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-11 13:04:59 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-11 13:04:59 +0200
commit1a780eaa3669a296b683201ef6431a7490fdc7d6 (patch)
treee62c1476468e5d184c87a4e369e532036f582d8f /scripts/automation/trex_control_plane/client_utils
parent1aec60fb7a6bb5dc4143e91e28844dd4fef6ece6 (diff)
parenta66529ec065cf0745618c0f065d491b9fcca4e53 (diff)
Fix tests
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-xscripts/automation/trex_control_plane/client_utils/general_utils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/general_utils.py b/scripts/automation/trex_control_plane/client_utils/general_utils.py
index 9a510ec5..d2521f02 100755
--- a/scripts/automation/trex_control_plane/client_utils/general_utils.py
+++ b/scripts/automation/trex_control_plane/client_utils/general_utils.py
@@ -90,14 +90,6 @@ def id_count_gen():
yield return_id
return_id += 1
-# try to get number from input, return None in case of fail
-def get_number(input):
- try:
- if type(input) in (int, long):
- return input
- return int(input)
- except:
- return None
if __name__ == "__main__":
pass