I was curious about how something worked in yum so I was looking at some of its score code and I found this line in the erasePkgs function in cli.py.
if False: pass
elif basecmd in ('erase-n', 'remove-n'):
rms = self.remove(name=arg)
.
.
.
The if False: pass does nothing correct? It never gets into that branch it always just skips to the next one doesn't it?
Here is the link to the source code: https://github.com/rpm-software-management/yum/blob/master/cli.py. It's on line 1268.