All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Garman <scott.a.garman@intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: Bitbake exception handling syntax.
Date: Tue, 14 Jun 2011 16:44:33 -0700	[thread overview]
Message-ID: <4DF7F261.6020007@intel.com> (raw)

In a failed attempt to make bitbake pass the parsing stage with python 
v3, I noticed that the syntax we use for exception handling is 
inconsistent.

The old way is to do: except ExcType, localvar
The new way is: except ExcType as localvar

We're using the new syntax (which is python v3.x compatible) throughout 
most of the code, so the patch I'm about to submit cleans up the 
remaining cases using the old syntax.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center



             reply	other threads:[~2011-06-14 23:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 23:44 Scott Garman [this message]
2011-06-15  0:08 ` Bitbake exception handling syntax Chris Larson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF7F261.6020007@intel.com \
    --to=scott.a.garman@intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.