Add try-else clause.
@@ -186,7 +186,7 @@ class FrozenRequirement(object):
"Error when trying to get requirement for VCS system %s, "
"falling back to uneditable format", exc
)
- req = None
+ else:
if req is not None:
return (req, True, comments)
