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

Unified Diff: site/try/add_time_stamp.py

Issue 2232273004: Delete site/try (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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
« dart.gyp ('K') | « site/try/README ('k') | site/try/app.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/try/add_time_stamp.py
diff --git a/site/try/add_time_stamp.py b/site/try/add_time_stamp.py
deleted file mode 100644
index adc0612beeb6dbb6f8428f0a5953a753dd274e6a..0000000000000000000000000000000000000000
--- a/site/try/add_time_stamp.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-
-import datetime
-import sys
-
-def Main():
- (_, input_file_name, output_file_name) = sys.argv
- if not input_file_name or not output_file_name:
- raise Exception('Missing argument')
-
- timestamp = str(datetime.datetime.now())
-
- with open(input_file_name, 'r') as input_file:
- with open(output_file_name, 'w') as output_file:
- output_file.write(input_file.read().replace('@@TIMESTAMP@@', timestamp))
-
-
-if __name__ == '__main__':
- sys.exit(Main())
« dart.gyp ('K') | « site/try/README ('k') | site/try/app.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698