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

Unified Diff: cros_mark_as_stable.py

Issue 4988004: Special-case preflight clean to allow for missing directories. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Alternative approach Created 10 years, 1 month 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: cros_mark_as_stable.py
diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py
index a6888439eda0223eff7e342af1daae4f4041b544..b2f2cd4067600aa7c275427dfd9a466def960752 100755
--- a/cros_mark_as_stable.py
+++ b/cros_mark_as_stable.py
@@ -496,7 +496,7 @@ def main(argv):
if gflags.FLAGS.overlays:
overlays = {}
for path in gflags.FLAGS.overlays.split(':'):
- if not os.path.isdir(path):
+ if command != 'clean' and not os.path.isdir(path):
Die('Cannot find overlay: %s' % path)
overlays[path] = []
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