~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to daemons/poppy-sftp.tac

  • Committer: Julian Edwards
  • Date: 2011-02-22 15:59:32 UTC
  • mto: This revision was merged to the branch mainline in revision 12470.
  • Revision ID: julian.edwards@canonical.com-20110222155932-9q0sltoff2vp59vr
first stab at rejecting unsigned changes files - requires a patch to Twisted to return the error code properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from canonical.config import config
22
22
from canonical.launchpad.daemons import readyservice
 
23
from canonical.launchpad.scripts import execute_zcml_for_scripts
23
24
 
24
25
from lp.poppy.twistedftp import (
25
26
    FTPRealm,
142
143
    banner=config.poppy.banner)
143
144
svc.setServiceParent(application)
144
145
 
 
146
# We need Zope for looking up the GPG utilities.
 
147
execute_zcml_for_scripts()
 
148
 
145
149
# Service that announces when the daemon is ready
146
150
readyservice.ReadyService().setServiceParent(application)