Skip to content

Commit

Permalink
fix for issue#1264
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Sep 19, 2023
1 parent 4edfc73 commit d482a06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/jnpr/junos/facts/swver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ def __init__(self, verstr):
if len(after_type) < 2:
self.build = None
else:
self.build = int(after_type[1])
try:
# handling case for EVO format X50.17-EVO
self.build = int(after_type[1])
except:
self.build = None

elif ("I" == self.type) or ("-" == self.type):
self.type = "I"
Expand Down

0 comments on commit d482a06

Please sign in to comment.