Remove added newline
This commit is contained in:
parent
9a978e23e1
commit
9616c26cb8
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = subprompt
|
||||
version = 0.0.6
|
||||
version = 0.0.7
|
||||
author = Augusto Lenz Gunsch
|
||||
author_email = augusto@augustogunsch.com
|
||||
description = Substitute Regex in files with prompt confirmation
|
||||
|
|
|
@ -160,7 +160,6 @@ class Filter:
|
|||
if hash_old.digest() != hash_new.digest():
|
||||
with open(fname, 'w') as file:
|
||||
file.write(new_contents)
|
||||
file.write('\n')
|
||||
|
||||
def run(args):
|
||||
parser = argparse.ArgumentParser(description='Modifies lines matched by a regex interactively')
|
||||
|
|
Loading…
Reference in New Issue