kmisc 2.1.109__py3-none-any.whl → 2.1.110__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 +4 -1
- {kmisc-2.1.109.dist-info → kmisc-2.1.110.dist-info}/METADATA +1 -1
- kmisc-2.1.110.dist-info/RECORD +6 -0
- kmisc-2.1.109.dist-info/RECORD +0 -6
- {kmisc-2.1.109.dist-info → kmisc-2.1.110.dist-info}/LICENSE +0 -0
- {kmisc-2.1.109.dist-info → kmisc-2.1.110.dist-info}/WHEEL +0 -0
- {kmisc-2.1.109.dist-info → kmisc-2.1.110.dist-info}/top_level.txt +0 -0
kmisc/__init__.py
CHANGED
@@ -38,12 +38,14 @@ from multiprocessing import Process, Queue
|
|
38
38
|
from email.mime.multipart import MIMEMultipart
|
39
39
|
try:
|
40
40
|
from kmport import *
|
41
|
+
import kmport
|
41
42
|
except:
|
42
43
|
pip_user_install='--user' if os.environ.get('VIRTUAL_ENV') is None else ''
|
43
44
|
os.system('''for i in 1 2 3 4 5; do python3 -m pip install pip --upgrade {} 2>&1 | grep "however version" |grep "is available" >& /dev/null || break; done'''.format(pip_user_install))
|
44
45
|
os.system('python3 -m pip install kmport {}'.format(pip_user_install))
|
45
46
|
try:
|
46
47
|
from kmport import *
|
48
|
+
import kmport
|
47
49
|
except:
|
48
50
|
print('Can not install kmport')
|
49
51
|
os._exit(1)
|
@@ -52,9 +54,11 @@ Import('import whois',install_name='python-whois')
|
|
52
54
|
#Import('import whois') # it print some comment on screen
|
53
55
|
|
54
56
|
global krc_define
|
57
|
+
global krc_ext
|
55
58
|
global printf_log_base
|
56
59
|
global printf_caller_tree
|
57
60
|
global printf_caller_detail
|
61
|
+
|
58
62
|
log_intro=3
|
59
63
|
pipe_file=None
|
60
64
|
log_new_line='\n'
|
@@ -2030,7 +2034,6 @@ def findXML(xmlfile,find_name=None,find_path=None,default=None,out='xmlobj',get_
|
|
2030
2034
|
elif IsIn(out,['attrib','att','attr']):
|
2031
2035
|
return found_path[0].attrib
|
2032
2036
|
elif IsIn(out,['path','key','keys']):
|
2033
|
-
print('>>',found_root[1],':',found_path[1])
|
2034
2037
|
if found_root[1] is None:
|
2035
2038
|
return found_path[1]
|
2036
2039
|
return os.path.join(found_root[1],found_path[1])
|
@@ -0,0 +1,6 @@
|
|
1
|
+
kmisc/__init__.py,sha256=KvOI3bqqfV6BPXDuUjYqusq7hYnx7bTqHpIX880hXeU,135389
|
2
|
+
kmisc-2.1.110.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
|
3
|
+
kmisc-2.1.110.dist-info/METADATA,sha256=U-mK3R2pVKlcIGBFzO6v6ZxIWFg0wjd3dz1Mb6dn31k,5523
|
4
|
+
kmisc-2.1.110.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
5
|
+
kmisc-2.1.110.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
|
6
|
+
kmisc-2.1.110.dist-info/RECORD,,
|
kmisc-2.1.109.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
kmisc/__init__.py,sha256=mWY098snoDA5dNTnnsgassmxdQDreEsQK_yQfPCf2Fs,135397
|
2
|
-
kmisc-2.1.109.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
|
3
|
-
kmisc-2.1.109.dist-info/METADATA,sha256=hkp6711xlZCLB_Oa0uYnlXuC_0dDXW8j_qOI-EQjtV0,5523
|
4
|
-
kmisc-2.1.109.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
5
|
-
kmisc-2.1.109.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
|
6
|
-
kmisc-2.1.109.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|