[packagedb] don't ignore '' as version numbers
commit1872e1591740e6ba22ea5a9ecfb90c98d9ca670b
authorFrédéric Péters <fpeters@0d.be>
Mon, 18 May 2009 17:19:37 +0000 (18 19:19 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 18 May 2009 17:19:37 +0000 (18 19:19 +0200)
tree66d01a2ea350b7bd9c117751bfa5eafb9173c145
parentb5a1f42c7d0bc33deb8fcf7191dadf87a966d142
[packagedb] don't ignore '' as version numbers

packagedb.check() allows None as version parameter to ignore the
version check; this patch changes the support so '' is not ignored
as well. This is useful for modules that were installed but got
their source directory removed, as jhbuild can't find a revision
number in that situation, and will pass the empty string.
jhbuild/utils/packagedb.py