Skip to content

Commit

Permalink
updated mib files load call
Browse files Browse the repository at this point in the history
  • Loading branch information
Costya-Y committed Jul 16, 2024
1 parent 001a5e1 commit 901859e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include *.txt
global-include *.ini
global-include *.json
prune .tox
4 changes: 3 additions & 1 deletion cloudshell/calix/autoload/calix_generic_snmp_autoload.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
class CalixGenericSNMPAutoload(GenericSNMPAutoload):
def __init__(self, snmp_handler, resource_model):
super().__init__(snmp_handler, logger, resource_model)
self.load_mibs(os.path.abspath(os.path.join(os.path.dirname(__file__), "mibs")))
self.load_mibs(
os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "mibs"))
)

@property
@lru_cache()
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0.2
1.0.0

0 comments on commit 901859e

Please sign in to comment.