Phillip Smyth pushed to branch mac_fixes at BuildStream / buildstream
Commits:
2 changed files:
Changes:
... | ... | @@ -641,6 +641,9 @@ class Stream(): |
641 | 641 |
}
|
642 | 642 |
workspaces.append(workspace_detail)
|
643 | 643 |
|
644 |
+ if not workspaces:
|
|
645 |
+ workspaces = "No workspaces found"
|
|
646 |
+ |
|
644 | 647 |
_yaml.dump({
|
645 | 648 |
'workspaces': workspaces
|
646 | 649 |
})
|
... | ... | @@ -178,7 +178,7 @@ class Result(): |
178 | 178 |
return list(pushed)
|
179 | 179 |
|
180 | 180 |
def get_pulled_elements(self):
|
181 |
- pulled = re.findall(r'\[\s*pull:(\S+)\s*\]\s*INFO\s*Pulled artifact', self.stderr)
|
|
181 |
+ pulled = re.findall(r'\[\s*pull:(\S+)\s*\]\s*INFO\s*Downloaded artifact', self.stderr)
|
|
182 | 182 |
if pulled is None:
|
183 | 183 |
return []
|
184 | 184 |
|