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

Unified Diff: dart/tools/utils.py

Issue 10273005: Fix dependencies for create and upload SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | « dart/tools/upload_sdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/utils.py
diff --git a/dart/tools/utils.py b/dart/tools/utils.py
index 3c90a5b05c9552d3183ccc2be55478413331aa13..bce6d2e0084600f6b9afe48d5d296aa1b07a97b9 100644
--- a/dart/tools/utils.py
+++ b/dart/tools/utils.py
@@ -270,6 +270,11 @@ def DiagnoseExitCode(exit_code, command):
' '.join(command), exit_code, exit_code & 0xffffffff))
+def Touch(name):
+ with file(name, 'a'):
+ os.utime(name, None)
+
+
if __name__ == "__main__":
import sys
Main(sys.argv)
« no previous file with comments | « dart/tools/upload_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698