Skip to content
Myr

Add wrapper for testing fixing functionality

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Keyan Pishdadian · committed by Keyan Pishdadian · parent c90c4e5 · Browse files · 1 file+5 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−2 removed

  • other:+5 added−2 removed

1 file+5 added−2 removed

modified:scripts/flaskext_migrate.py+5 added-2 removed
81 unmodified lines
8283 return red848586if __name__ == "__main__":87 input_file = sys.argv[1]86def fix(input_file):87 ast = read_source(input_file)88 new_ast = fix_imports(ast)89 write_source(new_ast, input_file)9091if __name__ == "__main__":92 input_file = sys.argv[1]93 fix(input_file)