[Yum-devel] [PATCH] Resurrect diskspacecheck=0 functionality

Ville Skyttä ville.skytta at iki.fi
Thu Apr 25 08:53:53 UTC 2013


On 2013-04-25 11:17, Zdenek Pavlas wrote:

> This code is dead, as diskspacecheck is a BoolOption.
> It's True/False, but never == 0.

Surely better to just test the boolean value, but isn't False in
practice always == 0?

$ python -c "print(False == 0)"
True
$ python3 -c "print(False == 0)"
True



More information about the Yum-devel mailing list