[jhbuild] tests: record version number when installing mock module



commit 9723132f106cca0ff9ad788e8700188555977ece
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Sat Oct 8 11:18:48 2011 -0400

    tests: record version number when installing mock module

 tests/mock.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/mock.py b/tests/mock.py
index c141c27..d1cbb08 100644
--- a/tests/mock.py
+++ b/tests/mock.py
@@ -170,7 +170,7 @@ class MockModule(jhbuild.modtypes.Package):
 
     def do_install(self, buildscript):
         buildscript.set_action(_('Installing'), self)
-        buildscript.moduleset.packagedb.add(self.name, '', None)
+        buildscript.moduleset.packagedb.add(self.name, self.get_revision(), None)
     do_install.depends = [PHASE_BUILD]
 
     def do_check(self, buildscript):



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