Remove unused imports, add missing blank lines, fix too long lines, fix docstring parameters to match the ones in method declaration, rename to short variable names in soc.logic.models.base module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
<html>
<head><title>We ran out of memory</title></head>
<body>
We ran out of memory while serving your request, please try again.
</body>
</html>