diff options
author | 2010-02-28 10:48:29 +0200 | |
---|---|---|
committer | 2010-03-16 08:43:36 +0200 | |
commit | 741f675d2191b29805041fb84f204dd935020a0b (patch) | |
tree | f9405ad65bf93b55f04e05ece3ba86ccd6eb835d | |
parent | Clean up the percentage calculation and related HTML output. (diff) | |
download | gentoo-bumpchecker-741f675d2191b29805041fb84f204dd935020a0b.tar.gz gentoo-bumpchecker-741f675d2191b29805041fb84f204dd935020a0b.tar.bz2 gentoo-bumpchecker-741f675d2191b29805041fb84f204dd935020a0b.zip |
Skip packages from mobile category.
Most of the mobile category contains duplicates anyway.
-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 |