Closed Bug 730284 Opened 12 years ago Closed 12 years ago

undefined name 'FakeDatabaseConnection' in ConnectionContextPooled class

Categories

(Socorro Graveyard :: Middleware, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: adrian, Unassigned)

References

Details

Running check.py on our external folder raises the following error:

> external/postgresql/connection_context.py:166: undefined name 'FakeDatabaseConnection'
Blocks: 729358
A check.py, an error? Wow! That's really nitpicking it, isn't it? :)

The pooled class is not working at all to begin with. We don't use a pooled connection context because have the luxury of a pgbouncer. 
I tried to convince Lars to delete the code that is neither working, maintained or used but he says it ought to stay for "political" reasons. One of our goals is to be welcoming to other non-mozilla teams that want to use Socorro who might think that pgbouncer is overkill and prefer to do it in Python instead. This code would thus point to a good start on that. Sort of. 

We deliberately ignored all check.py messages for code that isn't used or test covered.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.