fix import error. I'm not sure if importing comariface in every scope is the way to go.

This commit is contained in:
Barış Metin
2006-02-21 14:59:44 +00:00
parent df61995d1d
commit 25ec627a50
+1
View File
@@ -223,6 +223,7 @@ class Install(AtomicOperation):
def postinstall(self):
if 'System.Package' in [x.om for x in self.metadata.package.providesComar]:
if ctx.comar:
import pisi.comariface as comariface
ctx.ui.notify(pisi.ui.configuring, package = self.pkginfo, files = self.files)
comariface.run_postinstall(self.pkginfo.name)
ctx.ui.notify(pisi.ui.configured, package = self.pkginfo, files = self.files)