Skip to content

Commit

Permalink
SIG-2190: WFDS - updated UCC to strip space at the beginning of retur…
Browse files Browse the repository at this point in the history
…n string
  • Loading branch information
WFA-HarshMadhiwalla committed Oct 18, 2016
1 parent 99ee435 commit 3384478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/myutils.py
Expand Up @@ -1982,6 +1982,7 @@ def process_resp(toaddr, status, capi_elem, command):
for s in stitems:
if(int(i)%2 == 0) and len(stitems) > i+1 and len(ret_data_def_type) > int(i/2):
logging.debug("--------> Adding %s = %s"%(ret_data_def_type[int(i/2)], stitems[i+1]))
stitems[i+1] = stitems[i+1].lstrip()
stitems[i+1] = stitems[i+1].rstrip(' ')
stitems[i+1] = stitems[i+1].rstrip('\n')
stitems[i+1] = stitems[i+1].rstrip('\r')
Expand Down

0 comments on commit 3384478

Please sign in to comment.