~launchpad-pqm/launchpad/devel

Viewing all changes in revision 10301.1.13.

  • Committer: Karl Fogel
  • Date: 2010-02-11 15:25:52 UTC
  • mto: This revision was merged to the branch mainline in revision 10362.
  • Revision ID: karl.fogel@canonical.com-20100211152552-8ul60lhhm7fy9o40
Various tweaks, based on Jonathan Lange's review.

* utilities/community-contributions.py: Stop using backslashes
  for continuation lines where Python doesn't need backslashes.
  (known_canonical_lp_devs, known_canonical_non_lp_devs): Extend
  comment about these variables to explain what's going on better.
  (encode_for_wiki): New function.  Use everywhere.
  (ContainerRevision.__str__): Reformat multi-line assignment.
  (CANONICAL_ADDR): New module-level constant.
  (get_ex_cons): Use above new constant.  Consolidate logic for
  determining if this is a known_canonical_lp_dev, and add a
  comment reminding the reader why we care.  Reduce the glare
  of another comment by using a single hash mark instead of three.
  Use a more standard logic flow for finding/creating the ExCon.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: