Skip to content
Snippets Groups Projects
Commit a9cb70a4 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code cleanup

parent c3075c40
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!151Resolve "(TID) New BGP-LS Speaker component"
...@@ -156,7 +156,6 @@ cython_debug/ ...@@ -156,7 +156,6 @@ cython_debug/
# Other # Other
/tmp /tmp
/netphony-network-protocols
# Sqlite # Sqlite
*.db *.db
......
...@@ -68,6 +68,7 @@ def add(): ...@@ -68,6 +68,7 @@ def add():
form.device_type.choices = [] form.device_type.choices = []
for device_type in DeviceTypeEnum: for device_type in DeviceTypeEnum:
form.device_type.choices.append((device_type.value,device_type.value)) form.device_type.choices.append((device_type.value,device_type.value))
if form.validate_on_submit(): if form.validate_on_submit():
device_obj = Device() device_obj = Device()
# Device UUID: # Device UUID:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment