Prefer ConfigParser.get() to a for loop
robertu94 opened this issue · 2 comments
robertu94 commented
ConfigParser allows for a .get() method which allow you to specify a default if a value does not exist. This could be used to clean up lines 38 and following in ctf.py removing the forloop
nbulischeck commented
@robertu94 Closed?
robertu94 commented
Close, you also don't need to explicitly None the values on each loop because it will be done by .get() anyway.