[jhbuild/external-deps] Fix typo



commit ad6b3d99d8aca1836a6a385149cdaa08aab3f440
Author: John Carr <john carr unrouted co uk>
Date:   Sun Jun 14 15:23:58 2009 +0100

    Fix typo

 jhbuild/utils/systempackages.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/utils/systempackages.py b/jhbuild/utils/systempackages.py
index 3578a39..1622be5 100644
--- a/jhbuild/utils/systempackages.py
+++ b/jhbuild/utils/systempackages.py
@@ -61,7 +61,7 @@ class SystemPackages(object):
         if isinstance(module, MetaModule):
             return False
         if not version is None:
-            return self.is_available(self.get_pkgname(module.name), version)
+            return self.is_installed(self.get_pkgname(module.name), version)
         if not isinstance(module.branch, TarballBranch):
             return False
         return self.is_installed(self.get_pkgname(module.name), module.branch.version)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]