544 |
def get_downstream_from_upstream(upstream, version): |
def get_downstream_from_upstream(upstream, version): |
545 |
# Determine the package name |
# Determine the package name |
546 |
downstream = Downstream() |
downstream = Downstream() |
|
# downstream, downstream_files = get_downstream_names() |
|
547 |
|
|
548 |
if upstream not in downstream: |
if upstream not in downstream.tarballs: |
549 |
raise ValueError("No packages for upstream name: %s" % upstream) |
raise ValueError("No packages for upstream name: %s" % upstream) |
550 |
|
|
551 |
if len(downstream.tarballs[upstream]) == 1: |
if len(downstream.tarballs[upstream]) == 1: |