From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002480.html | 89 ++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002480.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002480.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002480.html b/zarb-ml/mageia-sysadm/2011-January/002480.html new file mode 100644 index 000000000..2c4d63eb9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002480.html @@ -0,0 +1,89 @@ + + + + [Mageia-sysadm] [367] only try to remove files that are on svn or symlinks + + + + + + + + + +

[Mageia-sysadm] [367] only try to remove files that are on svn or symlinks

+ root at mageia.org + root at mageia.org +
+ Fri Jan 28 01:09:33 CET 2011 +

+
+ +
Revision: 367
+Author:   boklm
+Date:     2011-01-28 01:09:33 +0100 (Fri, 28 Jan 2011)
+Log Message:
+-----------
+only try to remove files that are on svn or symlinks
+
+Modified Paths:
+--------------
+    build_system/mgarepo/trunk/MgaRepo/rpmutil.py
+
+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:
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110128/9bd2b501/attachment.html>
+
+ + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1