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
commit5b8253e0e1f1393a509fb9975ba8c1347af758ed (patch)
tree1790470b1d07a0b4973ebce19192e896566ea60b /dpmert/divide_refs.py
parent2389a5a8a43dda87c355579838559515b0428421 (diff)
parentb203f8c5dc8cff1b9c9c2073832b248fcad0765a (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()