diff --git a/bench/app.py b/bench/app.py index 8f6b9b24..0d915290 100755 --- a/bench/app.py +++ b/bench/app.py @@ -138,7 +138,7 @@ def pull_all_apps(bench_path='.', reset=False): app_dir = get_repo_dir(app, bench_path=bench_path) if os.path.exists(os.path.join(app_dir, '.git')): out = subprocess.check_output(["git", "status"], cwd=app_dir) - if not 'nothing to commit, working directory clean' in out: + if not re.search(r'nothing to commit, working (directory|tree) clean', out): print ''' Cannot proceed with update: You have local changes in app "{0}" that are not committed.