Re: 'premature end of script headers' error
Thomas Arendsen Hein <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Just a small note: * Tom Ekberg <[email protected]> [20131213 23:05]: > - except IOError: > + except IOError as e: Better use "except IOError, e", this works with Python 2.5 (Roundup's current minimum version), too. And usually I would recommend "why" or "inst" instead of a single-letter variable here, unless the surrounding code already established "e" for it. Regards, Thomas -- [email protected] - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998 Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk