~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/check-configs.py

  • Committer: William Grant
  • Date: 2012-01-01 03:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
import _pythonpath
14
14
 
 
15
import optparse
15
16
import os
16
17
import sys
17
 
import ZConfig
18
 
import optparse
19
18
import traceback
20
19
 
21
20
from lazr.config import ConfigSchema
22
21
from lazr.config.interfaces import ConfigErrors
 
22
import ZConfig
23
23
 
24
24
# Calculate some landmark paths.
25
25
import lp.services.config
 
26
 
 
27
 
26
28
here = os.path.dirname(lp.services.config.__file__)
27
29
lazr_schema_file = os.path.join(here, 'schema-lazr.conf')
28
30
lazr_schema = ConfigSchema(lazr_schema_file)