python: Raise IndexError when adding the same network twice
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2018 15:37:40 +0000 (15:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2018 15:37:40 +0000 (15:37 +0000)
commitc04005bbd5a1e2cbef630600cd229b8a6b49bf14
tree77d12509b051cf7266fe42c13750c0ace0288ba0
parentdafdb6c89b8680a4d34ee34e40f18abaf0b36e12
python: Raise IndexError when adding the same network twice

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network.c
src/python/writer.c