]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- perror when trying to move a package with no rpms built
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 1 May 2005 00:36:46 +0000 (00:36 +0000)
committerMariusz Mazur <mmazur@pld-linux.org>
Sun, 1 May 2005 00:36:46 +0000 (00:36 +0000)
Changed files:
    modules/ftptree.py -> 1.12

modules/ftptree.py

index 47a3fa440ffda3982d4e6810c4695449bb5e042f..935f820f535c722211efebfdfb0d2e03bb65dd38 100644 (file)
@@ -198,6 +198,9 @@ class FtpTree(BaseFtpTree):
 
     def __checkarchs(self, dsttree):
         for pkg in self.marked4moving:
+            if len(pkg.files.keys()) <= 1:
+                perror('Package %s has only src.rpm built' % pkg)
+                continue
             otherpkgnames=self.__find_other_pkgs(pkg, dsttree)
             curarchs=[]
             missingarchs=[]
This page took 0.353785 seconds and 4 git commands to generate.