pyFlakes issues fixed. Simple refactoring
pyFlakes issues fixed. Simple refactoring

pbrook/mbed,hwfwgrp/mbed,adustm/mbed,larks/mbed,adustm/mbed,maximmbed/mbed,rgrover/mbed,bikeNomad/mbed,CalSol/mbed,Sweet-Peas/mbed,kpurusho/mbed,mazimkhan/mbed-os,screamerbg/mbed,karsev/mbed-os,mazimkhan/mbed-os,Archcady/mbed-os,alertby/mbed,jpbrucker/mbed,pbrook/mbed,jeremybrodt/mbed,brstew/MBED-BUILD,JasonHow44/mbed,HeadsUpDisplayInc/mbed,infinnovation/mbed-os,mbedmicro/mbed,CalSol/mbed,cvtsi2sd/mbed-os,al177/mbed,kjbracey-arm/mbed,mazimkhan/mbed-os,theotherjimmy/mbed,pbrook/mbed,screamerbg/mbed,HeadsUpDisplayInc/mbed,Tiryoh/mbed,FranklyDev/mbed,Timmmm/mbed,ban4jp/mbed,devanlai/mbed,DanKupiniak/mbed,struempelix/mbed,Shengliang/mbed,NitinBhaskar/mbed,screamerbg/mbed,Sweet-Peas/mbed,RonEld/mbed,svastm/mbed,karsev/mbed-os,brstew/MBED-BUILD,RonEld/mbed,masaohamanaka/mbed,fahhem/mbed-os,maximmbed/mbed,K4zuki/mbed,infinnovation/mbed-os,bcostm/mbed-os,ryankurte/mbed-os,autopulated/mbed,YarivCol/mbed-os,JasonHow44/mbed,mnlipp/mbed,nvlsianpu/mbed,netzimme/mbed-os,jrjang/mbed,andcor02/mbed-os,iriark01/mbed-drivers,pradeep-gr/mbed-os5-onsemi,devanlai/mbed,geky/mbed,j-greffe/mbed-os,fahhem/mbed-os,devanlai/mbed,ryankurte/mbed-os,pedromes/mbed,getopenmono/mbed,bulislaw/mbed-os,Archcady/mbed-os,dbestm/mbed,jpbrucker/mbed,masaohamanaka/mbed,andreaslarssonublox/mbed,svogl/mbed-os,alertby/mbed,Marcomissyou/mbed,brstew/MBED-BUILD,mnlipp/mbed,ban4jp/mbed,struempelix/mbed,j-greffe/mbed-os,nRFMesh/mbed-os,betzw/mbed-os,GustavWi/mbed,Tiryoh/mbed,monkiineko/mbed-os,c1728p9/mbed-os,GustavWi/mbed,bcostm/mbed-os,wodji/mbed,andcor02/mbed-os,maximmbed/mbed,NitinBhaskar/mbed,Tiryoh/mbed,tung7970/mbed-os,adamgreen/mbed,Sweet-Peas/mbed,monkiineko/mbed-os,naves-thiago/mbed-midi,K4zuki/mbed,hwfwgrp/mbed,NordicSemiconductor/mbed,wodji/mbed,0xc0170/mbed-drivers,RonEld/mbed,rosterloh/mbed,adustm/mbed,radhika-raghavendran/mbed-os5.1-onsemi,FranklyDev/mbed,nRFMesh/mbed-os,NordicSemiconductor/mbed,svastm/mbed,Willem23/mbed,wodji/mbed,kl-cruz/mbed-os,cvtsi2sd/mbed-os,jrjang/mbed,sg-/mbed-drivers,rgrover/mbed,fvincenzo/mbed-os,adustm/mbed,tung7970/mbed-os,nabilbendafi/mbed,devanlai/mbed,Shengliang/mbed,Timmmm/mbed,jamesadevine/mbed,j-greffe/mbed-os,logost/mbed,radhika-raghavendran/mbed-os5.1-onsemi,geky/mbed,wodji/mbed,kjbracey-arm/mbed,ban4jp/mbed,jferreir/mbed,jpbrucker/mbed,c1728p9/mbed-os,kl-cruz/mbed-os,tung7970/mbed-os-1,naves-thiago/mbed-midi,masaohamanaka/mbed,jamesadevine/mbed,betzw/mbed-os,pedromes/mbed,andcor02/mbed-os,jferreir/mbed,naves-thiago/mbed-midi,infinnovation/mbed-os,xcrespo/mbed,jpbrucker/mbed,fvincenzo/mbed-os,bikeNomad/mbed,NXPmicro/mbed,netzimme/mbed-os,fahhem/mbed-os,rosterloh/mbed,cvtsi2sd/mbed-os,pedromes/mbed,jeremybrodt/mbed,mbedmicro/mbed,cvtsi2sd/mbed-os,svastm/mbed,jferreir/mbed,autopulated/mbed,masaohamanaka/mbed,Shengliang/mbed,c1728p9/mbed-os,jferreir/mbed,ARM-software/mbed-beetle,geky/mbed,fanghuaqi/mbed,theotherjimmy/mbed,mnlipp/mbed,mikaleppanen/mbed-os,bremoran/mbed-drivers,andreaslarssonublox/mbed,arostm/mbed-os,YarivCol/mbed-os,bulislaw/mbed-os,fvincenzo/mbed-os,Marcomissyou/mbed,mazimkhan/mbed-os,rosterloh/mbed,adamgreen/mbed,EmuxEvans/mbed,JasonHow44/mbed,tung7970/mbed-os,bentwire/mbed,jamesadevine/mbed,YarivCol/mbed-os,HeadsUpDisplayInc/mbed,logost/mbed,masaohamanaka/mbed,fanghuaqi/mbed,CalSol/mbed,adustm/mbed,NordicSemiconductor/mbed,netzimme/mbed-os,autopulated/mbed,mnlipp/mbed,jrjang/mbed,jferreir/mbed,naves-thiago/mbed-midi,tung7970/mbed-os-1,Shengliang/mbed,ARM-software/mbed-beetle,catiedev/mbed-os,EmuxEvans/mbed,fpiot/mbed-ats,logost/mbed,svastm/mbed,kl-cruz/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,pradeep-gr/mbed-os5-onsemi,fahhem/mbed-os,al177/mbed,K4zuki/mbed,RonEld/mbed,mmorenobarm/mbed-os,maximmbed/mbed,bentwire/mbed,Sweet-Peas/mbed,mmorenobarm/mbed-os,DanKupiniak/mbed,catiedev/mbed-os,larks/mbed,al177/mbed,andcor02/mbed-os,mnlipp/mbed,radhika-raghavendran/mbed-os5.1-onsemi,mazimkhan/mbed-os,j-greffe/mbed-os,tung7970/mbed-os-1,c1728p9/mbed-os,Archcady/mbed-os,K4zuki/mbed,fpiot/mbed-ats,bikeNomad/mbed,logost/mbed,betzw/mbed-os,nvlsianpu/mbed,NXPmicro/mbed,karsev/mbed-os,nvlsianpu/mbed,nRFMesh/mbed-os,kjbracey-arm/mbed,fanghuaqi/mbed,al177/mbed,ryankurte/mbed-os,sam-geek/mbed,kl-cruz/mbed-os,masaohamanaka/mbed,mbedmicro/mbed,xcrespo/mbed,arostm/mbed-os,nRFMesh/mbed-os,GustavWi/mbed,jamesadevine/mbed,Timmmm/mbed,bcostm/mbed-os,catiedev/mbed-os,kpurusho/mbed,YarivCol/mbed-os,DanKupiniak/mbed,catiedev/mbed-os,CalSol/mbed,fpiot/mbed-ats,adamgreen/mbed,kjbracey-arm/mbed,pedromes/mbed,andreaslarssonublox/mbed,K4zuki/mbed,larks/mbed,jrjang/mbed,rosterloh/mbed,dbestm/mbed,screamerbg/mbed,larks/mbed,bentwire/mbed,svogl/mbed-os,RonEld/mbed,svogl/mbed-os,naves-thiago/mbed-midi,getopenmono/mbed,arostm/mbed-os,netzimme/mbed-os,CalSol/mbed,betzw/mbed-os,fahhem/mbed-os,pi19404/mbed,Sweet-Peas/mbed,pradeep-gr/mbed-os5-onsemi,tung7970/mbed-os-1,0xc0170/mbed-drivers,netzimme/mbed-os,struempelix/mbed,radhika-raghavendran/mbed-os5.1-onsemi,jamesadevine/mbed,bulislaw/mbed-os,jeremybrodt/mbed,nabilbendafi/mbed,fpiot/mbed-ats,Tiryoh/mbed,j-greffe/mbed-os,CalSol/mbed,theotherjimmy/mbed,xcrespo/mbed,andreaslarssonublox/mbed,DanKupiniak/mbed,fanghuaqi/mbed,kl-cruz/mbed-os,pi19404/mbed,mmorenobarm/mbed-os,bentwire/mbed,pi19404/mbed,NXPmicro/mbed,wodji/mbed,j-greffe/mbed-os,brstew/MBED-BUILD,mikaleppanen/mbed-os,pradeep-gr/mbed-os5-onsemi,Archcady/mbed-os,adamgreen/mbed,bcostm/mbed-os,YarivCol/mbed-os,mazimkhan/mbed-os,cvtsi2sd/mbed-os,pi19404/mbed,EmuxEvans/mbed,sg-/mbed-drivers,Archcady/mbed-os,NXPmicro/mbed,Willem23/mbed,NXPmicro/mbed,rgrover/mbed,c1728p9/mbed-os,andreaslarssonublox/mbed,nabilbendafi/mbed,ryankurte/mbed-os,ryankurte/mbed-os,autopulated/mbed,HeadsUpDisplayInc/mbed,JasonHow44/mbed,nvlsianpu/mbed,dbestm/mbed,EmuxEvans/mbed,screamerbg/mbed,monkiineko/mbed-os,Timmmm/mbed,radhika-raghavendran/mbed-os5.1-onsemi,kpurusho/mbed,jeremybrodt/mbed,jamesadevine/mbed,monkiineko/mbed-os,struempelix/mbed,Shengliang/mbed,Marcomissyou/mbed,geky/mbed,nRFMesh/mbed-os,NordicSemiconductor/mbed,jferreir/mbed,theotherjimmy/mbed,dbestm/mbed,jpbrucker/mbed,brstew/MBED-BUILD,al177/mbed,jrjang/mbed,catiedev/mbed-os,mbedmicro/mbed,struempelix/mbed,mbedmicro/mbed,infinnovation/mbed-os,mmorenobarm/mbed-os,ban4jp/mbed,mikaleppanen/mbed-os,fvincenzo/mbed-os,Timmmm/mbed,adustm/mbed,pradeep-gr/mbed-os5-onsemi,getopenmono/mbed,adamgreen/mbed,Marcomissyou/mbed,getopenmono/mbed,NitinBhaskar/mbed,pbrook/mbed,nabilbendafi/mbed,arostm/mbed-os,monkiineko/mbed-os,monkiineko/mbed-os,kpurusho/mbed,sam-geek/mbed,cvtsi2sd/mbed-os,jpbrucker/mbed,JasonHow44/mbed,alertby/mbed,netzimme/mbed-os,andcor02/mbed-os,karsev/mbed-os,bikeNomad/mbed,rosterloh/mbed,devanlai/mbed,alertby/mbed,ryankurte/mbed-os,pbrook/mbed,FranklyDev/mbed,al177/mbed,arostm/mbed-os,maximmbed/mbed,pbrook/mbed,bentwire/mbed,bentwire/mbed,hwfwgrp/mbed,tung7970/mbed-os,devanlai/mbed,kpurusho/mbed,nabilbendafi/mbed,kpurusho/mbed,EmuxEvans/mbed,sam-geek/mbed,karsev/mbed-os,bcostm/mbed-os,catiedev/mbed-os,FranklyDev/mbed,GustavWi/mbed,mikaleppanen/mbed-os,mmorenobarm/mbed-os,svogl/mbed-os,EmuxEvans/mbed,alertby/mbed,Timmmm/mbed,fanghuaqi/mbed,pradeep-gr/mbed-os5-onsemi,Willem23/mbed,Willem23/mbed,tung7970/mbed-os,pedromes/mbed,sam-geek/mbed,infinnovation/mbed-os,logost/mbed,nvlsianpu/mbed,dbestm/mbed,hwfwgrp/mbed,getopenmono/mbed,infinnovation/mbed-os,fahhem/mbed-os,naves-thiago/mbed-midi,Sweet-Peas/mbed,fpiot/mbed-ats,FranklyDev/mbed,maximmbed/mbed,bulislaw/mbed-os,sam-geek/mbed,theotherjimmy/mbed,bcostm/mbed-os,ban4jp/mbed,Archcady/mbed-os,bikeNomad/mbed,fpiot/mbed-ats,getopenmono/mbed,pi19404/mbed,HeadsUpDisplayInc/mbed,mmorenobarm/mbed-os,bulislaw/mbed-os,nvlsianpu/mbed,svastm/mbed,Marcomissyou/mbed,NitinBhaskar/mbed,rgrover/mbed,svogl/mbed-os,K4zuki/mbed,svogl/mbed-os,rgrover/mbed,iriark01/mbed-drivers,Tiryoh/mbed,geky/mbed,RonEld/mbed,struempelix/mbed,nRFMesh/mbed-os,xcrespo/mbed,larks/mbed,betzw/mbed-os,bulislaw/mbed-os,jrjang/mbed,ARM-software/mbed-beetle,arostm/mbed-os,YarivCol/mbed-os,Willem23/mbed,mnlipp/mbed,hwfwgrp/mbed,alertby/mbed,GustavWi/mbed,autopulated/mbed,NitinBhaskar/mbed,screamerbg/mbed,xcrespo/mbed,pedromes/mbed,hwfwgrp/mbed,tung7970/mbed-os-1,betzw/mbed-os,NXPmicro/mbed,larks/mbed,wodji/mbed,kl-cruz/mbed-os,dbestm/mbed,Tiryoh/mbed,pi19404/mbed,logost/mbed,brstew/MBED-BUILD,andcor02/mbed-os,mikaleppanen/mbed-os,ban4jp/mbed,bremoran/mbed-drivers,xcrespo/mbed,JasonHow44/mbed,karsev/mbed-os,theotherjimmy/mbed,jeremybrodt/mbed,Shengliang/mbed,HeadsUpDisplayInc/mbed,fvincenzo/mbed-os,Marcomissyou/mbed,autopulated/mbed,mikaleppanen/mbed-os,ARM-software/mbed-beetle,nabilbendafi/mbed,c1728p9/mbed-os,rosterloh/mbed,adamgreen/mbed