]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - modules/ftptree.py
- perror when trying to move a package with no rpms built
[projects/pld-ftp-admin.git] / 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.02621 seconds and 4 git commands to generate.