~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/faq.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 12:11:50 UTC
  • mfrom: (14625.2.7 gina-dsc-binaries)
  • Revision ID: launchpad@pqm.canonical.com-20120106121150-e0bucmb5qeyytnn9
[r=wgrant][bug=911943] Fix SourcePackageReleaseDscBinariesUpdater:
        round chunk_size to int (and document this issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""`IFAQ` browser views."""
13
13
    ]
14
14
 
15
15
from lp import _
 
16
from lp.answers.interfaces.faq import IFAQ
 
17
from lp.answers.interfaces.faqcollection import IFAQCollection
 
18
from lp.app.browser.launchpadform import (
 
19
    action,
 
20
    LaunchpadEditFormView,
 
21
    )
16
22
from lp.services.webapp import (
17
 
    action,
18
23
    canonical_url,
19
24
    enabled_with_permission,
20
 
    LaunchpadEditFormView,
21
 
    LaunchpadView,
22
25
    Link,
23
26
    NavigationMenu,
24
27
    )
25
28
from lp.services.webapp.breadcrumb import Breadcrumb
26
 
from lp.answers.browser.faqcollection import FAQCollectionMenu
27
 
from lp.answers.interfaces.faq import IFAQ
28
 
from lp.answers.interfaces.faqcollection import IFAQCollection
 
29
from lp.services.webapp.publisher import LaunchpadView
29
30
 
30
31
 
31
32
class FAQNavigationMenu(NavigationMenu):