John Salerno <[EMAIL PROTECTED]> writes: > I just need some advice for how to structure > the check of the empty string.
How about return db_name or None since the empty string taken as a boolean is False. -- http://mail.python.org/mailman/listinfo/python-list