diff options
author | Michael R. Crusoe <michael.crusoe@gmail.com> | 2023-12-14 22:51:37 +0100 |
---|---|---|
committer | Étienne Mollier <emollier@debian.org> | 2023-12-14 22:51:37 +0100 |
commit | 8a411508b795f7bd8a71bb3806df745ea9368659 (patch) | |
tree | 93692fc930f97051a472c05f5eadd130f875ec12 /tools/gitwash_dumper.py | |
parent | 4ac0d7cf1c2b1b90a3cac44a45262952b76ce291 (diff) |
Python3 fixes
Last-Update: 2019-12-15 15:37:17
Bug-Debian: https://bugs.debian.org/937145
Gbp-Pq: Name python3
Diffstat (limited to 'tools/gitwash_dumper.py')
-rwxr-xr-x | tools/gitwash_dumper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gitwash_dumper.py b/tools/gitwash_dumper.py index 000245a..b002f65 100755 --- a/tools/gitwash_dumper.py +++ b/tools/gitwash_dumper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 ''' Checkout gitwash repo into directory and do search replace on name ''' import os @@ -84,7 +84,7 @@ def copy_replace(replace_pairs, for rep_glob in rep_globs: fnames += fnmatch.filter(out_fnames, rep_glob) if verbose: - print '\n'.join(fnames) + print('\n'.join(fnames)) for fname in fnames: filename_search_replace(replace_pairs, fname, False) for in_exp, out_exp in renames: |