summaryrefslogtreecommitdiff
path: root/lib/thandy/packagesys/PackageSystem.py
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@gentoo.org>2011-06-22 08:11:18 -0300
committerTomas Touceda <chiiph@gentoo.org>2011-06-22 08:11:18 -0300
commitcf45099e2196a239feedebbb2f2c6ec2f1989894 (patch)
tree2d7864191bdba94446991666a0c8ca88f558d7d2 /lib/thandy/packagesys/PackageSystem.py
parentf7d25a033439d904d24a4ef290fab440b0a54a1a (diff)
Improve ThpDB, implement ThpPackage
ThpDB's insert, delete and exists seems to work as expected by now.
Diffstat (limited to 'lib/thandy/packagesys/PackageSystem.py')
-rw-r--r--lib/thandy/packagesys/PackageSystem.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/thandy/packagesys/PackageSystem.py b/lib/thandy/packagesys/PackageSystem.py
index ccf5532..d1060d0 100644
--- a/lib/thandy/packagesys/PackageSystem.py
+++ b/lib/thandy/packagesys/PackageSystem.py
@@ -70,6 +70,7 @@ def getChecker(relPath, extra, defaultFormat, package):
k,v=extra['registry_ent']
return thandy.packagesys.ExePackages.RegistryChecker(k,v)
elif checkType == 'thp':
+ print "Getting thp checker"
import thandy.packagesys.ThpPackages
return thandy.packagesys.ThpPackages.ThpChecker(
extra['thp_name'], extra['thp_version'])
@@ -108,6 +109,7 @@ def getInstaller(relPath, extra, defaultFormat, package):
installer = thandy.packagesys.ExePackages.CommandInstaller(
relPath, extra['cmd_install'], extra.get('cmd_remove'))
elif installType == 'thp':
+ print "Getting thp installer"
import thandy.packagesys.ThpPackages
installer = thandy.packagesys.ThpPackages.ThpInstaller(
relPath)