src/pull.py
changeset 2310 ce10607d5332
parent 2286 938fbb350ad2
child 2316 9eb53e68d674
equal deleted inserted replaced
2309:5aa9213d0285 2310:ce10607d5332
   335 
   335 
   336 def fetch_catalog(src_pub, tracker, txport):
   336 def fetch_catalog(src_pub, tracker, txport):
   337         """Fetch the catalog from src_uri."""
   337         """Fetch the catalog from src_uri."""
   338         global complete_catalog
   338         global complete_catalog
   339 
   339 
   340         src_uri = src_pub.selected_repository.origins[0].uri
   340         src_uri = src_pub.repository.origins[0].uri
   341         tracker.catalog_start(src_uri)
   341         tracker.catalog_start(src_uri)
   342 
   342 
   343         if not src_pub.meta_root:
   343         if not src_pub.meta_root:
   344                 # Create a temporary directory for catalog.
   344                 # Create a temporary directory for catalog.
   345                 cat_dir = tempfile.mkdtemp(dir=temp_root,
   345                 cat_dir = tempfile.mkdtemp(dir=temp_root,