diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Client/Frame.py | 3 | ||||
-rw-r--r-- | src/lib/Client/Tools/__init__.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py index dec3b42c2..5eac86d18 100644 --- a/src/lib/Client/Frame.py +++ b/src/lib/Client/Frame.py @@ -206,7 +206,8 @@ class Frame: continue try: self.states[cfile] = tl[0].InstallPath(cfile) - tl[0].modified.append(cfile) + if self.states[cfile]: + tl[0].modified.append(cfile) except: self.logger.error("Unexpected tool failure", exc_info=1) diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py index 88609c2f6..9d0c69892 100644 --- a/src/lib/Client/Tools/__init__.py +++ b/src/lib/Client/Tools/__init__.py @@ -110,7 +110,8 @@ class Tool: try: func = getattr(self, "Install%s" % (entry.tag)) states[entry] = func(entry) - self.modified.append(entry) + if states[entry]: + self.modified.append(entry) except: self.logger.error("Unexpected failure of install method for entry type %s" \ % (entry.tag), exc_info=1) |