Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in gitwash_dumper.py #17

Open
malcolmlewis opened this issue Feb 8, 2021 · 1 comment
Open

Syntax error in gitwash_dumper.py #17

malcolmlewis opened this issue Feb 8, 2021 · 1 comment

Comments

@malcolmlewis
Copy link

malcolmlewis commented Feb 8, 2021

Hi
When building with Python 3.6/3.8 and running the tests in scikit-fuzzy, gitwash_dumper.py has a syntax error in the print statement on line 82, needs extra parentheses.

diff -Naur a/docs/tools/gitwash/gitwash_dumper.py b/docs/tools/gitwash/gitwash_dumper.py
--- a/docs/tools/gitwash/gitwash_dumper.py	2020-10-03 13:56:42.000000000 -0500
+++ b/docs/tools/gitwash/gitwash_dumper.py	2021-02-08 10:07:05.385419866 -0600
@@ -79,7 +79,7 @@
     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:
@matthew-brett
Copy link
Owner

Aha - where did you get the version of gitwash? The version on Github appears to be all Python 3'ed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants