equal
deleted
inserted
replaced
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, |