Skip to content

Commit

Permalink
Correct handling of optional elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Musatti committed Jun 14, 2024
1 parent 24396cc commit beae493
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libs/maven/nxpy/maven/pom.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,13 @@ def save(self):
self.artifact._modified = False
if self.parent:
self.parent._modified = False
self.scm._modified = False
if self.scm:
self.scm._modified = False
self.dependencies._saved()
if self.dependencyManagement:
self.dependencyManagement._saved()
self.distributionManagement._saved()
if self.distributionManagement:
self.distributionManagement._saved()
self.modules._saved()
if self.build:
self.build._saved()
Expand Down

0 comments on commit beae493

Please sign in to comment.