summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/002468.html
blob: b6a52d226dfff695bc9a8c6730b3cc9d0a50b639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [356] remove all paths passed as argument
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B356%5D%20remove%20all%20paths%20passed%20as%20argument&In-Reply-To=%3C20110127203140.261D943309%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002467.html">
   <LINK REL="Next"  HREF="002469.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [356] remove all paths passed as argument</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B356%5D%20remove%20all%20paths%20passed%20as%20argument&In-Reply-To=%3C20110127203140.261D943309%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [356] remove all paths passed as argument">root at mageia.org
       </A><BR>
    <I>Thu Jan 27 21:31:40 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002467.html">[Mageia-sysadm] [355] mgarepo version 1.9.7
</A></li>
        <LI>Next message: <A HREF="002469.html">[Mageia-sysadm] [357] don't set binrepo revision with propset (not	used)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2468">[ date ]</a>
              <a href="thread.html#2468">[ thread ]</a>
              <a href="subject.html#2468">[ subject ]</a>
              <a href="author.html#2468">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 356
Author:   boklm
Date:     2011-01-27 21:31:39 +0100 (Thu, 27 Jan 2011)
Log Message:
-----------
remove all paths passed as argument

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 19:19:30 UTC (rev 355)
+++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-27 20:31:39 UTC (rev 356)
@@ -669,7 +669,8 @@
     refurl = binrepo.svn_root(paths[0])
     if not binrepo.enabled(refurl):
         raise Error, &quot;binary repository is not enabled for %s&quot; % refurl
-    binrepo.remove(paths[0])
+    for path in paths:
+        binrepo.remove(path)
 
 def switch(mirrorurl=None):
     svn  = SVN()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20110127/f052795e/attachment.html&gt;
</PRE>






<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002467.html">[Mageia-sysadm] [355] mgarepo version 1.9.7
</A></li>
	<LI>Next message: <A HREF="002469.html">[Mageia-sysadm] [357] don't set binrepo revision with propset (not	used)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2468">[ date ]</a>
              <a href="thread.html#2468">[ thread ]</a>
              <a href="subject.html#2468">[ subject ]</a>
              <a href="author.html#2468">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>