python_modules: multi_interface cleanup
python_modules: multi_interface cleanup

avoid file handler leak and redefinition of file
style and formatting fixes

NoodlesNZ/monitor-core,dmourati/monitor-core,ganglia/monitor-core,NoodlesNZ/monitor-core,fastly/monitor-core,lawrencewu/monitor-core,torkelsson/monitor-core,hinesmr/monitor-core,torkelsson/monitor-core,sdgdsffdsfff/monitor-core,hinesmr/monitor-core,fastly/monitor-core,ganglia/monitor-core,lawrencewu/monitor-core,fastly/monitor-core,sdgdsffdsfff/monitor-core,dmourati/monitor-core,dmourati/monitor-core,lawrencewu/monitor-core,mjzhou/monitor-core,mjzhou/monitor-core,torkelsson/monitor-core,phreakocious/monitor-core,fastly/monitor-core,phreakocious/monitor-core,torkelsson/monitor-core,lawrencewu/monitor-core,NoodlesNZ/monitor-core,ganglia/monitor-core,sdgdsffdsfff/monitor-core,lawrencewu/monitor-core,phreakocious/monitor-core,ganglia/monitor-core,NoodlesNZ/monitor-core,phreakocious/monitor-core,ganglia/monitor-core,dmourati/monitor-core,mjzhou/monitor-core,torkelsson/monitor-core,lawrencewu/monitor-core,dmourati/monitor-core,sdgdsffdsfff/monitor-core,hinesmr/monitor-core,torkelsson/monitor-core,fastly/monitor-core,NoodlesNZ/monitor-core,fastly/monitor-core,mjzhou/monitor-core,torkelsson/monitor-core,fastly/monitor-core,sdgdsffdsfff/monitor-core,NoodlesNZ/monitor-core,mjzhou/monitor-core,NoodlesNZ/monitor-core,phreakocious/monitor-core,phreakocious/monitor-core,dmourati/monitor-core,ganglia/monitor-core,sdgdsffdsfff/monitor-core,lawrencewu/monitor-core,sdgdsffdsfff/monitor-core,ganglia/monitor-core,mjzhou/monitor-core,phreakocious/monitor-core,hinesmr/monitor-core,ganglia/monitor-core,hinesmr/monitor-core,mjzhou/monitor-core