Dark Light

Given the following code:

def index():
        try:
                import MySQLdb
        except:
                return "Couldn't import MySQL module"
        return "Yay Workyness"

inside a mod_python instance, is there any reason why it should return “Yay Workyness” and “Couldn’t import MySQL module” in roughly equal amounts? (MySQLdb in this case is a sub directory of the current working directory). Bugs I can cope with, but this inconsistancy is driving me insane…

Related Posts

Return

I’m back. Not totally obvious, is it? You wouldn’t belive the problems we faced merely getting the site…

One Week

So, Last Thursday the British Gas thing happened. Friday I lost my phone. Saturday I bent my sunglasses…

More Portal

So, if the problem with the original Portal was that there wasn’t enough of it, the solution is…