group: Remove binary package check
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 13 Jun 2014 09:33:43 +0000 (12:33 +0300)
committerEduard Bartosh <eduard.bartosh@intel.com>
Fri, 13 Jun 2014 19:29:49 +0000 (22:29 +0300)
Check for existance of binary packages has been removed as
for some repositories like Tizen:IVI arm/i586 build could be disabled
for almost all packages. This makes repa group fail for any submission.

Change-Id: I089418dd01687ab27855d12b58ad6c1d42aaf627
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
repa/group.py

index bc61f4c15becb6b6d9bb650accbf134e1f13700f..49c86191c198099c269dfba8c579e487c8cf0c8f 100755 (executable)
@@ -78,10 +78,6 @@ def check_binary_pkgs(obs, submissions, force=False):
         pkgs = list(obs.get_binary_packages(data['project']))
         # check if submission has binary packages
         for repo, bins in pkgs:
-            # Check if binary packages exist
-            if not force and not bins:
-                raise RepaException('No binary packages found in %s %s/%s' % \
-                                    (submission, repo[0], repo[1]))
             # check if submissions have common packages
             for subm, info in binaries.iteritems():
                 if repo in info: