| Total Complexity | 0 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | ''' Dummy backend implementation. ''' |
||
| 2 | |||
| 3 | import sys |
||
| 4 | |||
| 5 | working_dir, input_file, output_files = sys.argv[1:4] |
||
| 6 | |||
| 7 | print "Dummy was called with the following arguments: " |
||
| 8 | print " Working dir: "+working_dir |
||
| 9 | print " Input file: "+input_file |
||
| 10 | print " Output files: "+output_files |
||
| 11 | |||
| 12 | |||
| 13 | if output_files.startswith("*"): |
||
| 14 | suffix = output_files[1:] |
||
| 15 | open(working_dir+"/foo"+suffix,"w").close() |
||
| 16 | open(working_dir+"/bar"+suffix,"w").close() |
||
| 17 | else: |
||
| 18 | open(working_dir+"/"+output_files) |
||
| 19 |