scripts/rpc.py: remove unused int_arg()
Change-Id: I0b5acd748799d6c867844d60466b761c3a406920 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/404430 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
df897ed490
commit
80c81017ce
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from rpc.client import print_dict, print_array, int_arg
|
||||
from rpc.client import print_dict, print_array
|
||||
|
||||
import argparse
|
||||
import rpc
|
||||
|
@ -16,10 +16,6 @@ def print_array(a):
|
||||
print " ".join((quote(v) for v in a))
|
||||
|
||||
|
||||
def int_arg(arg):
|
||||
return int(arg, 0)
|
||||
|
||||
|
||||
class JSONRPCClient(object):
|
||||
def __init__(self, addr, port=None, verbose=False, timeout=60.0):
|
||||
self.verbose = verbose
|
||||
|
Loading…
Reference in New Issue
Block a user