Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: server/site_linux_router.py

Issue 3387009: Be lenient if deconfig fails to find a bridge (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_linux_router.py
diff --git a/server/site_linux_router.py b/server/site_linux_router.py
index 39c39a19424663f7788b0034432a3a6884e80383..2405fe586adb058c5ab8ed0758e39cddd4d54d6e 100644
--- a/server/site_linux_router.py
+++ b/server/site_linux_router.py
@@ -319,7 +319,7 @@ class LinuxRouter(object):
result = self.router.run("%s delbr %s" %
(self.cmd_brctl, self.bridgeif),
ignore_status=True)
- if not result.stderr:
+ if not result.stderr or 'No such device' in result.stderr:
break
time.sleep(1)
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698