extras-buildsys/utils/pushscript MultiLib.py,1.24,1.25

Michael Schwendt mschwendt at fedoraproject.org
Mon Feb 16 09:28:34 UTC 2009


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15930

Modified Files:
	MultiLib.py 
Log Message:
warn less during multilib pkg copy


Index: MultiLib.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/MultiLib.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- MultiLib.py	15 Feb 2009 14:33:26 -0000	1.24
+++ MultiLib.py	16 Feb 2009 09:28:34 -0000	1.25
@@ -348,13 +348,12 @@
     def addrpm(f,src,dest):
         srcfile = os.path.join(src,f)
         destfile = os.path.join(dest,f)
-        if not os.path.exists(srcfile):
-            if srcfile.find('-debuginfo-')<0: # Don't warn about missing debuginfo pkgs.
-                print 'WARNING: missing', srcfile
-            return False
         if not os.path.exists(destfile):  # silent extra-check
-            #print '   ', destfile
             print '   ', os.path.basename(destfile)
+            if not os.path.exists(srcfile):
+                if srcfile.find('-debuginfo-')<0: # Don't warn about missing debuginfo pkgs.
+                    print 'WARNING: missing', srcfile
+                return False
             Utils.install_link_or_copy(srcfile,destfile)
             return True
         else:




More information about the scm-commits mailing list