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

Unified Diff: tools/copy_dart.py

Issue 11236069: Remove unused function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: tools/copy_dart.py
diff --git a/tools/copy_dart.py b/tools/copy_dart.py
index 4230d52c66ab02d3f47ab3fb4cf6320bc93da2b0..1fd52a0067c973fea4dc3dfb3e6ee31be1964e4e 100755
--- a/tools/copy_dart.py
+++ b/tools/copy_dart.py
@@ -65,13 +65,6 @@ def mergefiles(srcs, dstfile):
if not line.startswith('part of '):
dstfile.write(line)
-def copyfile(src, dst):
- if not exists(dirname(dst)):
- os.makedirs(dirname(dst))
- with open(src, 'r') as s:
- with open(dst, 'w') as d:
- d.write(s.read())
-
def main(outdir = None, *inputs):
if not outdir or not inputs:
print "Usage: %s OUTDIR INPUTS" % args[0]
« 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