environment: Don't print 'updating view at' when no specs (#29536)

This commit is contained in:
Harmen Stoppels 2022-03-18 13:49:47 +01:00 committed by GitHub
parent 2fa495154e
commit 62fcf407e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -520,6 +520,7 @@ def regenerate(self, concretized_specs):
return return
# construct view at new_root # construct view at new_root
if specs:
tty.msg("Updating view at {0}".format(self.root)) tty.msg("Updating view at {0}".format(self.root))
view = self.view(new=new_root) view = self.view(new=new_root)