summaryrefslogtreecommitdiff
path: root/dpmert/divide_refs.py
diff options
context:
space:
mode:
authorAvneesh Saluja <asaluja@gmail.com>2013-03-28 18:28:16 -0700
committerAvneesh Saluja <asaluja@gmail.com>2013-03-28 18:28:16 -0700
commit3d8d656fa7911524e0e6885647173474524e0784 (patch)
tree81b1ee2fcb67980376d03f0aa48e42e53abff222 /dpmert/divide_refs.py
parentbe7f57fdd484e063775d7abf083b9fa4c403b610 (diff)
parent96fedabebafe7a38a6d5928be8fff767e411d705 (diff)
fixed conflicts
Diffstat (limited to 'dpmert/divide_refs.py')
-rwxr-xr-xdpmert/divide_refs.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/dpmert/divide_refs.py b/dpmert/divide_refs.py
deleted file mode 100755
index b478f918..00000000
--- a/dpmert/divide_refs.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-import sys
-
-(numRefs, outPrefix) = sys.argv[1:]
-numRefs = int(numRefs)
-
-outs = [open(outPrefix+str(i), "w") for i in range(numRefs)]
-
-i = 0
-for line in sys.stdin:
- outs[i].write(line)
- i = (i + 1) % numRefs
-
-for out in outs:
- out.close()