diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2014-01-28 18:12:16 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2014-01-28 18:12:16 -0500 |
commit | 069c12f849d92375a71103d11efc290453cb15fe (patch) | |
tree | 1b58ee78fa5f5cb5df0284c82e5d74d321e4deff | |
parent | 603337112c471d7ecf1e368d77e1c2f0e71a5dab (diff) | |
download | htc_utils-069c12f849d92375a71103d11efc290453cb15fe.tar.gz |
Fixed line stripping
-rwxr-xr-x | condor_split.py | 2 | ||||
-rwxr-xr-x | condor_wrap.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/condor_split.py b/condor_split.py index 480c94d..074d362 100755 --- a/condor_split.py +++ b/condor_split.py @@ -64,8 +64,6 @@ def assign_chunks(manifest, chunks, output_dir, as_jobs=False): for line in open(manifest, 'r'): - line = line.strip(os.linesep) - line += " " if count % chunks == 0: if dest: dest.close() diff --git a/condor_wrap.py b/condor_wrap.py index 0aa25c4..a1ad584 100755 --- a/condor_wrap.py +++ b/condor_wrap.py @@ -21,6 +21,7 @@ def main(): if isinstance(indata, file): for line in indata.readlines(): + line = line.strip() output.append(line) else: output = indata |