Skip to content

Commit 7b71c88

Browse files
fix: Fix regression in partial commits for Firewall commits specifically (#625)
1 parent 06e6ccb commit 7b71c88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

panos/firewall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,9 +622,9 @@ def element(self):
622622
ET.SubElement(partial, "shared-object").text = "excluded"
623623
if self.exclude_policy_and_objects:
624624
ET.SubElement(partial, "policy-and-objects").text = "excluded"
625-
fe.append(partial)
625+
root.append(partial)
626626

627627
if self.force:
628-
fe = ET.SubElement(root, "force")
628+
ET.SubElement(root, "force")
629629

630630
return root

0 commit comments

Comments
 (0)