Try Except Problem

2009-09-03 Thread Victor Subervi
Hi: I have this code: try: cursor.execute('select salesperson, office, cell, fax, home, email, assistant from general where salesperson=%s;' % (catch)) stuff = cursor.fetchone() test = raw_input('You have selected salesperson %s. Is that correct? (hit \'enter\' for affirmative, enter

Re: Try Except Problem

2009-09-03 Thread Albert Hopkins
On Tue, 2009-09-01 at 13:45 -0500, Victor Subervi wrote: Hi: I have this code: [blah] It's hard to tell because: 1. You posted code in HTML format, which is really hard to read 2. Even when viewed as plain text, you use non-standard indentation which is really hard to read