Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
===================================================================
--- build_system/mgarepo/trunk/MgaRepo/rpmutil.py 2011-01-27 23:55:49 UTC (rev 366)
+++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py 2011-01-28 00:09:33 UTC (rev 367)
@@ -562,7 +562,8 @@
status = sourcesst.get(entry)
path = os.path.join(sourcesdir, entry)
if entry not in sources:
- toremove.append(path)
+ if os.path.islink(path) or status is None:
+ toremove.append(path)
for path in toremove:
print "D\t%s" % path
if not dryrun: