diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 35442568e2..1f84ba4b25 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -180,3 +180,7 @@ def multiprocess_exec(commands, function): | |||
180 | pool.terminate() | 180 | pool.terminate() |
181 | pool.join() | 181 | pool.join() |
182 | raise | 182 | raise |
183 | |||
184 | def squashspaces(string): | ||
185 | import re | ||
186 | return re.sub("\s+", " ", string).strip() | ||