wnm 0.0.5__py3-none-any.whl → 0.0.6__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 wnm might be problematic. Click here for more details.

wnm/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """A service to manage a cluster of decentralized Autonomi nodes"""
2
2
 
3
- __version__ = "0.0.5"
3
+ __version__ = "0.0.6"
wnm/__main__.py CHANGED
@@ -67,6 +67,13 @@ if os.path.exists("/var/antctl/system"):
67
67
  # Is anm scheduled to run
68
68
  if os.path.exists("/etc/cron.d/anm"):
69
69
  # remove cron to disable old anm
70
+ try:
71
+ subprocess.run(['sudo','rm', '/etc/cron.d/anm'])
72
+ except Exception as error:
73
+ template = "In GAV - An exception of type {0} occurred. Arguments:\n{1!r}"
74
+ message = template.format(type(error).__name__, error.args)
75
+ logging.info(message)
76
+ sys.exit(1)
70
77
  os.remove("/etc/cron.d/anm")
71
78
  # Is anm sitll running? We'll wait
72
79
  if os.path.exists("/var/antctl/block"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wnm
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: Manager for Autonomi nodes
5
5
  Author-email: Troy Johnson <troy@weave.sh>
6
6
  License: GPL-3.0
@@ -0,0 +1,9 @@
1
+ wnm/__init__.py,sha256=FZ8bQGnVxVfNn4mORWWF52iCVY3AprvOn-Y42SPe4aU,91
2
+ wnm/__main__.py,sha256=779OKyej7fBte3cSUCnqQx3R05iSfjaU2XvOyPYXWI4,42957
3
+ wnm/config.py,sha256=nMJlzxZX7NA0iI_QAuJDE0uI3V_ROjP5v99wdKDfuDs,47
4
+ wnm/models.py,sha256=7lhZkUfFlnDgeEVRngQVuFnzSbJPwbytLMCynAo1j28,9416
5
+ wnm-0.0.6.dist-info/METADATA,sha256=FXDyeQ15lAyf_bfHlKklZbKcZhmZRmTBvDINng01xv8,2568
6
+ wnm-0.0.6.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
7
+ wnm-0.0.6.dist-info/entry_points.txt,sha256=jfoemjoLVPeeiBMHKqAExrHQ4Rhf9IXxL4JCnS7ZYFo,42
8
+ wnm-0.0.6.dist-info/top_level.txt,sha256=E6dTE5k6efMEB9LaJAZSBu8zzs__l4R55t0-F-LwufI,4
9
+ wnm-0.0.6.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- wnm/__init__.py,sha256=00EPTipJxnv7Yz6Nqq3vE7SjKBgE2jnXUTPzL3WEBE8,91
2
- wnm/__main__.py,sha256=IXboB7V4o80ye6N7xNAteoD_CALa4m49RlNduNLcifY,42631
3
- wnm/config.py,sha256=nMJlzxZX7NA0iI_QAuJDE0uI3V_ROjP5v99wdKDfuDs,47
4
- wnm/models.py,sha256=7lhZkUfFlnDgeEVRngQVuFnzSbJPwbytLMCynAo1j28,9416
5
- wnm-0.0.5.dist-info/METADATA,sha256=NfJKBdpVZdHLfXeT_2pCO8cx0bjK5JRkGiZN1XfYRCM,2568
6
- wnm-0.0.5.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
7
- wnm-0.0.5.dist-info/entry_points.txt,sha256=jfoemjoLVPeeiBMHKqAExrHQ4Rhf9IXxL4JCnS7ZYFo,42
8
- wnm-0.0.5.dist-info/top_level.txt,sha256=E6dTE5k6efMEB9LaJAZSBu8zzs__l4R55t0-F-LwufI,4
9
- wnm-0.0.5.dist-info/RECORD,,
File without changes