diff options
Diffstat (limited to 'modules/gnome_module.py')
-rw-r--r-- | modules/gnome_module.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/modules/gnome_module.py b/modules/gnome_module.py index ec98b93..6442ab0 100644 --- a/modules/gnome_module.py +++ b/modules/gnome_module.py @@ -46,12 +46,16 @@ class GNOME: if len(components) == 4 and len(components[2]) > 0: # Ignore perl packages that don't have versions known in version-stable due to different infrastructure for hosting # We have a workaround in compare_packages now, but we don't have a proper mapping to ruby-g* stuff yet, so ignore them for now - if not(components[0] == 'bindings' and components[3] == 'perl'): - pkg = package_module.Package(components[1] + "-" + components[2]) - if (pkg.name and pkg.version): - ret.append(pkg) - else: - print "Warning: Ignoring package %s because parsing of its name or version string '%s' failed" % (components[1], components[2]) + if (components[0] == 'bindings' and components[3] == 'perl'): + continue + # Skip mobile stuff, because we don't care. And they are mostly dupes anyway + if components[0] == 'mobile': + continue + pkg = package_module.Package(components[1] + "-" + components[2]) + if (pkg.name and pkg.version): + ret.append(pkg) + else: + print "Warning: Ignoring package %s because parsing of its name or version string '%s' failed" % (components[1], components[2]) f.close() return ret |