projects
/
sitecorepy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use startswith instead of == to match fields
[sitecorepy.git]
/
sitecore
/
__init__.py
diff --git
a/sitecore/__init__.py
b/sitecore/__init__.py
index e5b6bfded9f83be14ec62a8423b05969a669f112..5a2453043dc8dbade6396bb5cb4faf569102bb7c 100755
(executable)
--- a/
sitecore/__init__.py
+++ b/
sitecore/__init__.py
@@
-163,7
+163,7
@@
class SiteCoreConnection (object):
match = False
for f in fields:
granddad = f.find_element_by_xpath('/../..')
- if granddad.get_text()
== field
:
+ if granddad.get_text()
.startswith(field)
:
match = True
break
if match != True: