Skip to content

Commit 526e5d7

Browse files
committed
Removed strip() method from data.py file
- removed strip() method in load_value() method, so now response value contain leading and trailing spaces while printing data in console
1 parent 4d9a378 commit 526e5d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splunklib/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def load_value(element, nametable=None):
161161
text = element.text
162162
if text is None:
163163
return None
164-
text = text.strip()
165-
if len(text) == 0:
164+
165+
if len(text.strip()) == 0:
166166
return None
167167
return text
168168

0 commit comments

Comments
 (0)