Skip to content

Commit

Permalink
Resolved issue #916
Browse files Browse the repository at this point in the history
  • Loading branch information
ygorelik committed Apr 26, 2019
1 parent f89e5e2 commit 59dfd99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ydkgen/printer/meta_data_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,10 @@ def get_length_limits(length_type):
pmin = m_min
if m_max == 'max':
pmax = '18446744073709551615'
else:
elif m_max is not None:
pmax = m_max
else:
pmax = pmin
prange.append((pmin, pmax))
return prange

Expand Down

0 comments on commit 59dfd99

Please sign in to comment.