~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/jobs/ingest.py

  • Committer: Rick Harding
  • Date: 2013-11-06 22:54:45 UTC
  • mfrom: (448.2.1 novel-charmtools)
  • mto: This revision was merged to the branch mainline in revision 450.
  • Revision ID: rick.harding@canonical.com-20131106225445-8hqsfuu4h66k640f
Update to use the local config for ingest

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
 
348
348
    @staticmethod
349
349
    def proof(basket_file):
350
 
        lint, err = proof.proof(basket_file, is_bundle=True)
 
350
        endpoint = "http://{}:{}/api/3/bundle/proof".format(
 
351
            'localhost',
 
352
            settings['proof.port'],
 
353
        )
 
354
        lint, err = proof.proof(
 
355
            basket_file, is_bundle=True, endpoint=endpoint)
351
356
        return lint, err >= CHARMTOOL_ERROR_CODE
352
357
 
353
358
    def run(self, basket_data):