Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribution storage path no longer dependant on hostname and PRNG. #804

Merged
merged 1 commit into from Feb 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/pulp_rpm/plugins/importers/yum/parse/treeinfo.py
Expand Up @@ -271,8 +271,8 @@ def download_files(self, tmp_dir, files):
]
raise DownloadFailed()
for report in listener.succeeded_reports:
location = report.destination.lstrip(tmp_dir)
yield report.destination, location.lstrip('/')
location = os.path.relpath(report.destination, tmp_dir)
yield report.destination, location

@staticmethod
def process_successful_download_reports(unit, reports):
Expand Down