We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even when the -m option is not passed, that file md5sums.txt is still created.
-m
md5sums.txt
This is because the definition of the -m option uses action="store_true", default=False, while the check in the code uses options.md5 is not None.
action="store_true", default=False
options.md5 is not None
Since options.md5 will only ever be True or False, it is always not None, so this check always passes.
options.md5
True
False
not None
The text was updated successfully, but these errors were encountered:
check for true/false rather than None when deciding whether to output…
e084b62
… md5sums.txt; fix dvolgyes#32
No branches or pull requests
Even when the
-m
option is not passed, that filemd5sums.txt
is still created.This is because the definition of the
-m
option usesaction="store_true", default=False
, while the check in the code usesoptions.md5 is not None
.Since
options.md5
will only ever beTrue
orFalse
, it is alwaysnot None
, so this check always passes.The text was updated successfully, but these errors were encountered: