Skip to content

Commit

Permalink
Merge pull request #74 from laimaretto/devel
Browse files Browse the repository at this point in the history
8.2.2
  • Loading branch information
laimaretto authored Mar 18, 2024
2 parents 10fb1fa + c6a4164 commit a145065
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Versions #

## [8.2.2] - 2024-03-18

- The HwType is now added to the json file per router as a new key.

## [8.2.1] - 2024-03-16

- Update of libraries:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='taskAutom',
version='8.2.1',
version='8.2.2',
description='A simple task automation tool',
long_description='A simple task automation tool for NOKIA SROS based routers',
long_description_content_type='text/x-rst',
Expand Down
2 changes: 1 addition & 1 deletion src/taskAutom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "8.2.1"
__version__ = "8.2.2"
__author__ = 'Lucas Aimaretto'
7 changes: 4 additions & 3 deletions src/taskAutom/taskAutom.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from docx.shared import Pt


LATEST_VERSION = '8.2.1'
LATEST_VERSION = '8.2.2'

# Constants
IP_LOCALHOST = "127.0.0.1"
Expand Down Expand Up @@ -1564,9 +1564,10 @@ def logData(self, connInfo, logInfo, logsDirTimestamp, plugin, logsDirectory):
if not os.path.isfile(aluFileOutRxJson):
try:
with open(aluFileOutRxJson,'w') as fj:
outRxJson['name'] = connInfo['hostname']
outRxJson['ip'] = connInfo['systemIP']
outRxJson['name'] = connInfo['hostname']
outRxJson['ip'] = connInfo['systemIP']
outRxJson['version'] = connInfo['timos']
outRxJson['hwType'] = connInfo['hwType']
json.dump(outRxJson,fj)
fj.close()
writeJson = 'yes'
Expand Down

0 comments on commit a145065

Please sign in to comment.