~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugtask.txt

  • Committer: William Grant
  • Date: 2011-12-30 06:14:56 UTC
  • mto: This revision was merged to the branch mainline in revision 14610.
  • Revision ID: william.grant@canonical.com-20111230061456-f715q0b712skdnfk
Merge canonical.database into lp.services.database.

Show diffs side-by-side

added added

removed removed

Lines of Context:
737
737
    ...     ["id", "title", "private"])
738
738
    >>> notify(bug_set_private)
739
739
 
740
 
    >>> from canonical.database.sqlbase import flush_database_updates
 
740
    >>> from lp.services.database.sqlbase import flush_database_updates
741
741
    >>> flush_database_updates()
742
742
 
743
743
If we now login as someone who was neither implicitly nor explicitly
1025
1025
    # XXX Guilherme Salgado 2005-11-07:
1026
1026
    # If we don't call flush_database_caches() here, we won't see the
1027
1027
    # changes made by the cronscript in objects we already have cached.
1028
 
    >>> from canonical.database.sqlbase import flush_database_caches
 
1028
    >>> from lp.services.database.sqlbase import flush_database_caches
1029
1029
    >>> flush_database_caches()
1030
1030
    >>> transaction.commit()
1031
1031