Update the Distribution `distribution` with DejaCode package data. Return True if data was updated.
(distribution)
| 73 | |
| 74 | |
| 75 | def update_with_dejacode_data(distribution): |
| 76 | """ |
| 77 | Update the Distribution `distribution` with DejaCode package data. Return |
| 78 | True if data was updated. |
| 79 | """ |
| 80 | package_data = get_package_data(distribution) |
| 81 | if package_data: |
| 82 | return distribution.update(package_data, keep_extra=False) |
| 83 | |
| 84 | print(f"No package found for: {distribution}") |
| 85 | |
| 86 | |
| 87 | def update_with_dejacode_about_data(distribution): |
nothing calls this directly
no test coverage detected