~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/doc/branch.txt

  • Committer: William Grant
  • Date: 2011-12-30 06:47:17 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230064717-n5re5t6we5w8o17z
Replace canonical.database usage everywhere, and format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
 
378
378
The current references to the branch table are shown here.
379
379
 
380
 
    >>> from canonical.database import postgresql
 
380
    >>> from lp.services.database import postgresql
381
381
    >>> from lp.services.database.sqlbase import cursor
382
382
    >>> cur = cursor()
383
383
    >>> references = list(postgresql.listReferences(cur, 'branch', 'id'))