specfile: Rename targetPackage attribute in Action tags as target

Service names can be different from the package names as of the previous
commit.
This commit is contained in:
Fatih Aşıcı
2010-03-18 11:40:07 +00:00
parent 134f72f17c
commit 33eb3ea1d1
+3 -3
View File
@@ -78,9 +78,9 @@ class Action:
# systemRestart
# serviceRestart
s_action = [autoxml.String, autoxml.mandatory]
s_action = [autoxml.String, autoxml.mandatory]
a_package = [autoxml.String, autoxml.optional]
a_targetPackage = [autoxml.String, autoxml.optional]
a_target = [autoxml.String, autoxml.optional]
def __str__(self):
return self.action
@@ -345,7 +345,7 @@ class Package:
if action.package and action.package != self.name:
continue
actions.add((action.action, action.targetPackage))
actions.add((action.action, action.target))
return actions