kmisc 2.1.103__py3-none-any.whl → 2.1.104__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kmisc/__init__.py +1 -0
- {kmisc-2.1.103.dist-info → kmisc-2.1.104.dist-info}/METADATA +1 -1
- kmisc-2.1.104.dist-info/RECORD +6 -0
- kmisc-2.1.103.dist-info/RECORD +0 -6
- {kmisc-2.1.103.dist-info → kmisc-2.1.104.dist-info}/LICENSE +0 -0
- {kmisc-2.1.103.dist-info → kmisc-2.1.104.dist-info}/WHEEL +0 -0
- {kmisc-2.1.103.dist-info → kmisc-2.1.104.dist-info}/top_level.txt +0 -0
kmisc/__init__.py
CHANGED
@@ -2008,6 +2008,7 @@ def findXML(xmlfile,find_name=None,find_path=None,default=None,out='xmlobj',get_
|
|
2008
2008
|
# Searching path from found root or original root
|
2009
2009
|
if find_path and isinstance(find_path,str):
|
2010
2010
|
if find_path[0] == '/': find_path=find_path[1:]
|
2011
|
+
elif len(find_path) > 2 and find_path[:2] == './': find_path=find_path[2:]
|
2011
2012
|
#ex: root.findall('./Menu/Setting/[@name="Administrator Password"]/Information/HasPassword'):
|
2012
2013
|
found_path=find_item(found_root[0],find_path.split('/'))
|
2013
2014
|
# <element>.tag: name, .text: data, .attrib: dict
|
@@ -0,0 +1,6 @@
|
|
1
|
+
kmisc/__init__.py,sha256=xs1IX-XoLd0PcqS877RqbD2HLAG60w2b4LSupnzr0vg,135123
|
2
|
+
kmisc-2.1.104.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
|
3
|
+
kmisc-2.1.104.dist-info/METADATA,sha256=w54Q4KJN39SNxs3euMe5jFjb6AehRJ6DqtsVlcX5KiY,5503
|
4
|
+
kmisc-2.1.104.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
5
|
+
kmisc-2.1.104.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
|
6
|
+
kmisc-2.1.104.dist-info/RECORD,,
|
kmisc-2.1.103.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
kmisc/__init__.py,sha256=M_qZMlje0d2XVnaVKiReSbfllci2Wxs0NVQpKf8aMvA,135036
|
2
|
-
kmisc-2.1.103.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
|
3
|
-
kmisc-2.1.103.dist-info/METADATA,sha256=ELQ4-WtZLBetUCuzzOt3EwQDxh2MsjWH0H28tJTKw70,5503
|
4
|
-
kmisc-2.1.103.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
5
|
-
kmisc-2.1.103.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
|
6
|
-
kmisc-2.1.103.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|