When a device is selected from the list, its configuration is loaded into the tmpcfg buffer. When this failed due to there being no configuration in the device, the ensuing exception prevented the device from being configured by the GUI. Now we explicitly silence the KeyError when loading configuration. The tmpcfg is still valid, so it can be read and manipulated just as always.
|
|
||
177 |
|
177 |
|
178 |
|
178 |
|
179 |
|
179 |
|
180 |
|
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
181 |
|
185 |
|
182 |
|
186 |
|
183 |
|
187 |
|