Lines 235-242
Link Here
|
235 |
f = open(dname, "r") |
235 |
f = open(dname, "r") |
236 |
old_data = self._parseDigests(f) |
236 |
old_data = self._parseDigests(f) |
237 |
f.close() |
237 |
f.close() |
238 |
if len(old_data) == 1 and "DIST" in old_data: |
238 |
new_data = self._getDigestData(distlist) |
239 |
new_data = self._getDigestData(distlist) |
239 |
if not old_data and not new_data: |
|
|
240 |
# SRC_URI is empty |
241 |
update_digest = False |
242 |
elif len(old_data) == 1 and "DIST" in old_data: |
240 |
if "DIST" in new_data: |
243 |
if "DIST" in new_data: |
241 |
for myfile in new_data["DIST"]: |
244 |
for myfile in new_data["DIST"]: |
242 |
for hashname in \ |
245 |
for hashname in \ |