lanscape 1.3.0a5__py3-none-any.whl → 1.3.0a6__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.
Potentially problematic release.
This version of lanscape might be problematic. Click here for more details.
- lanscape/libraries/version_manager.py +3 -3
- {lanscape-1.3.0a5.dist-info → lanscape-1.3.0a6.dist-info}/METADATA +1 -1
- {lanscape-1.3.0a5.dist-info → lanscape-1.3.0a6.dist-info}/RECORD +6 -6
- {lanscape-1.3.0a5.dist-info → lanscape-1.3.0a6.dist-info}/WHEEL +0 -0
- {lanscape-1.3.0a5.dist-info → lanscape-1.3.0a6.dist-info}/licenses/LICENSE +0 -0
- {lanscape-1.3.0a5.dist-info → lanscape-1.3.0a6.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
import requests
|
|
3
3
|
import traceback
|
|
4
|
-
import
|
|
4
|
+
from importlib.metadata import version, PackageNotFoundError
|
|
5
5
|
from random import randint
|
|
6
6
|
|
|
7
7
|
from .app_scope import is_local_run
|
|
@@ -45,8 +45,8 @@ def lookup_latest_version(package=PACKAGE):
|
|
|
45
45
|
def get_installed_version(package=PACKAGE):
|
|
46
46
|
if not is_local_run():
|
|
47
47
|
try:
|
|
48
|
-
return
|
|
49
|
-
except:
|
|
48
|
+
return version(package)
|
|
49
|
+
except PackageNotFoundError:
|
|
50
50
|
log.debug(traceback.format_exc())
|
|
51
51
|
log.warning(f'Cannot find {package} installation')
|
|
52
52
|
return LOCAL_VERSION
|
|
@@ -11,7 +11,7 @@ lanscape/libraries/port_manager.py,sha256=fNext3FNfGnGYRZK9RhTEwQ2K0e0YmmMlhK4zV
|
|
|
11
11
|
lanscape/libraries/runtime_args.py,sha256=zL8QB_Y69OBGjScytuuyHqdy2XimwpypMSPM3_etz7g,1811
|
|
12
12
|
lanscape/libraries/service_scan.py,sha256=jLU84ZoJnqSQbE30Zly2lm2zHrCGutNXjla1sEvp1hE,1949
|
|
13
13
|
lanscape/libraries/subnet_scan.py,sha256=0LW_xdoL-PRp59rJr6r6pSL3LiXEO_SJnjdrgEF_pO8,13120
|
|
14
|
-
lanscape/libraries/version_manager.py,sha256=
|
|
14
|
+
lanscape/libraries/version_manager.py,sha256=v-IsZ7sYIsNRiraIRckGZthlyL0iTuscR6jF_o9LBK8,1720
|
|
15
15
|
lanscape/libraries/web_browser.py,sha256=mMc_48g2_GZ0FdHOUuy63pBgYKIdmEz16WtYd0pzhIM,4324
|
|
16
16
|
lanscape/resources/mac_addresses/convert_csv.py,sha256=w3Heed5z2mHYDEZNBep3_hNg4dbrp_N6J54MGxnrq4s,721
|
|
17
17
|
lanscape/resources/mac_addresses/mac_db.json,sha256=ygtFSwNwJzDlg6hmAujdgCyzUjxt9Di75J8SO4xYIs8,2187804
|
|
@@ -64,8 +64,8 @@ lanscape/ui/templates/scan/ip-table-row.html,sha256=ptY24rxJRaA4PEEQRDncaq6Q0ql5
|
|
|
64
64
|
lanscape/ui/templates/scan/ip-table.html,sha256=ds__UP9JiTKf5IxCmTMzw--eN_yg1Pvn3Nj1KvQxeZg,940
|
|
65
65
|
lanscape/ui/templates/scan/overview.html,sha256=FsX-jSFhGKwCxZGKE8AMKk328UuawN6O9RNTzYvIOts,1205
|
|
66
66
|
lanscape/ui/templates/scan/scan-error.html,sha256=Q4eZM5ThrxnFaWOSTUpK8hA2ksHwhxOBTaVUCLALhyA,1032
|
|
67
|
-
lanscape-1.3.
|
|
68
|
-
lanscape-1.3.
|
|
69
|
-
lanscape-1.3.
|
|
70
|
-
lanscape-1.3.
|
|
71
|
-
lanscape-1.3.
|
|
67
|
+
lanscape-1.3.0a6.dist-info/licenses/LICENSE,sha256=cCO-NbS01Ilwc6djHjZ7LIgPFRkRmWdr0fH2ysXKioA,1090
|
|
68
|
+
lanscape-1.3.0a6.dist-info/METADATA,sha256=HhwZRp7f-0IwPDHginCcuPUqp5TsdPHJgecFcF4jUN0,2123
|
|
69
|
+
lanscape-1.3.0a6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
70
|
+
lanscape-1.3.0a6.dist-info/top_level.txt,sha256=E9D4sjPz_6H7c85Ycy_pOS2xuv1Wm-ilKhxEprln2ps,9
|
|
71
|
+
lanscape-1.3.0a6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|