aboutsummaryrefslogtreecommitdiff
path: root/worker/worker1.py
diff options
context:
space:
mode:
Diffstat (limited to 'worker/worker1.py')
-rwxr-xr-xworker/worker1.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/worker/worker1.py b/worker/worker1.py
index ae2f9d8..8a31501 100755
--- a/worker/worker1.py
+++ b/worker/worker1.py
@@ -1,4 +1,11 @@
#!/usr/bin/env python
+''' All this does is:
+ 1. Open an input file
+ 2. Read a list of integers (x)
+ 3. Add to the integers: x += 1
+ 4. Write list of integers to a new file
+'''
+
import os
import argparse
@@ -32,4 +39,4 @@ if __name__ == '__main__':
for infile in ARGS.INFILE:
do_work(os.path.abspath(infile))
- exit(0) \ No newline at end of file
+ exit(0)