Closed grapesmoker closed 7 years ago
Currently, if a regulation exists only in the future, current will be an empty list and trying to access its components will result in an IndexError. Instead, if current is empty, we should make the next_version the current_version.
current
IndexError
next_version
current_version
Added.
Thanks, looks good.
Currently, if a regulation exists only in the future,
current
will be an empty list and trying to access its components will result in anIndexError
. Instead, ifcurrent
is empty, we should make thenext_version
thecurrent_version
.