Lines 1700-1705
Link Here
|
1700 |
else: |
1700 |
else: |
1701 |
filedict[myfile].append(myuri) |
1701 |
filedict[myfile].append(myuri) |
1702 |
for myfile in filedict.keys(): |
1702 |
for myfile in filedict.keys(): |
|
|
1703 |
writemsg(">>> Locking "+myfile+"..."); |
1704 |
mylock=lockfile(mysettings["BUILD_PREFIX"]+"/"+myfile+".lockfile",1); |
1705 |
writemsg("done.\n"); |
1703 |
if listonly: |
1706 |
if listonly: |
1704 |
fetched=0 |
1707 |
fetched=0 |
1705 |
writemsg("\n") |
1708 |
writemsg("\n") |
Lines 1793-1798
Link Here
|
1793 |
if not myret: |
1796 |
if not myret: |
1794 |
fetched=2 |
1797 |
fetched=2 |
1795 |
break |
1798 |
break |
|
|
1799 |
writemsg(">>> Releasing lock.\n"); |
1800 |
unlockfile(mylock); |
1796 |
if (fetched!=2) and not listonly: |
1801 |
if (fetched!=2) and not listonly: |
1797 |
writemsg("!!! Couldn't download "+str(myfile)+". Aborting.\n") |
1802 |
writemsg("!!! Couldn't download "+str(myfile)+". Aborting.\n") |
1798 |
return 0 |
1803 |
return 0 |