Kaydet (Commit) 33eb3ea1 authored tarafından Fatih Aşıcı's avatar Fatih Aşıcı

specfile: Rename targetPackage attribute in Action tags as target

Service names can be different from the package names as of the previous
commit.
üst 134f72f1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment