Skip to content

Commit

Permalink
Indentation change
Browse files Browse the repository at this point in the history
  • Loading branch information
PennyHow authored Sep 23, 2024
1 parent 9c4836f commit 65613e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pypromice/tx/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,10 +894,10 @@ def sortLines(in_file, out_file, replace_unsorted=True): #
# out_f.write(headers)
out_f.writelines(unique_lines)

# Replace input file with new sorted file
if replace_unsorted:
os.remove(in_file)
os.rename(out_file, in_file)
# Replace input file with new sorted file
if replace_unsorted:
os.remove(in_file)
os.rename(out_file, in_file)

def addTail(in_file, out_dir, aws_name, header_names='', lines_limit=100):
'''Generate tails file from L0tx file
Expand Down

0 comments on commit 65613e1

Please sign in to comment.