Fix usage of superfluous parens.

This commit is contained in:
Rafael Guterres Jeffman
2021-04-29 19:10:28 -03:00
parent 3acb9333f4
commit 4f2b8000ce
2 changed files with 2 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ else:
"!=": operator.ne,
}
operation = oper_map.get(oper)
if not(operation):
if not operation:
raise NotImplementedError("Invalid operator: %s" % oper)
return operation(version.parse(VERSION),
version.parse(requested_version))