Skip to content

Commit

Permalink
Merge pull request #305 from netbox-community/develop
Browse files Browse the repository at this point in the history
Preparation for 0.24.1
  • Loading branch information
tobiasge authored May 29, 2020
2 parents 93a3784 + 03b3605 commit e9a9d9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.24.0
0.24.1
4 changes: 2 additions & 2 deletions startup_scripts/070_rack_roles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dcim.models import RackRole
from utilities.forms import COLOR_CHOICES
from utilities.choices import ColorChoices

from startup_script_utils import load_yaml
import sys
Expand All @@ -13,7 +13,7 @@
if 'color' in params:
color = params.pop('color')

for color_tpl in COLOR_CHOICES:
for color_tpl in ColorChoices:
if color in color_tpl:
params['color'] = color_tpl[0]

Expand Down
5 changes: 3 additions & 2 deletions startup_scripts/090_device_roles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from dcim.models import DeviceRole
from utilities.forms import COLOR_CHOICES
from utilities.choices import ColorChoices

from startup_script_utils import load_yaml
import sys

Expand All @@ -13,7 +14,7 @@
if 'color' in params:
color = params.pop('color')

for color_tpl in COLOR_CHOICES:
for color_tpl in ColorChoices:
if color in color_tpl:
params['color'] = color_tpl[0]

Expand Down

0 comments on commit e9a9d9b

Please sign in to comment.