Project

Profile

Help

Refactor #932

closed

Simplify pulp.server.db.connection.initialize()

Added by rbarlow about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

pulp.server.db.connection.initialize()[0] is far too complicated. Refactor it to make calls to simple helper methods so that each piece is logically separated and relatively small.

[0] https://github.com/pulp/pulp/blob/b4f433dbbd00217d245683874bbe7424c8ddc291/server/pulp/server/db/connection.py#L31-L143

Also available in: Atom PDF