개정판 109aff1e
line no, new line character not allowed
Change-Id: Ia6fa406860115c5b0b95880b2b3382b40e3d2774
DTI_PID/DTI_PID/Configs.py | ||
---|---|---|
30 | 30 |
return (False,) |
31 | 31 | |
32 | 32 |
res = [] |
33 | ||
34 |
_text = text.replace(' ', '') |
|
35 | ||
36 |
index = sorted(list(set([_text.find('\n', i) for i in range(len(_text)) if _text.find('\n', i) != -1])), reverse=True) |
|
37 |
if index: |
|
38 |
_text = _text.replace('\n', '') |
|
33 |
_text = text.replace(' ', '').replace('\n', '') |
|
34 |
index = [] |
|
35 | ||
36 |
# code for new line in line no |
|
37 |
#_text = text.replace(' ', '') |
|
38 |
#index = sorted(list(set([_text.find('\n', i) for i in range(len(_text)) if _text.find('\n', i) != -1])), reverse=True) |
|
39 |
#if index: |
|
40 |
# _text = _text.replace('\n', '') |
|
39 | 41 |
|
40 | 42 |
for propertyName in configs: |
41 | 43 |
lineProp = appDocData.getLinePropertiesByUID(propertyName) |
내보내기 Unified diff