From: Michael Tremer Date: Wed, 8 Jun 2011 22:55:08 +0000 (+0200) Subject: Introduce stub for change action. X-Git-Tag: 0.9.3~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3356c8c75d9d478ac57178ddf4be77577433b68;p=pakfire.git Introduce stub for change action. --- diff --git a/pakfire/repository/transaction.py b/pakfire/repository/transaction.py index 5235d66a5..7efbb690e 100644 --- a/pakfire/repository/transaction.py +++ b/pakfire/repository/transaction.py @@ -133,6 +133,13 @@ class ActionDowngrade(ActionInstall): type = "downgrade" +class ActionChange(Action): + type = "change" + + def run(self): + print "XXX Change: %s" % self.pkg + + class Transaction(object): action_classes = [ ActionInstall, @@ -141,6 +148,7 @@ class Transaction(object): ActionCleanup, ActionReinstall, ActionDowngrade, + ActionChange, ] def __init__(self, pakfire):