From d6202cc687dd2111b6f23e5a9ded1bb9f90c4fa3 Mon Sep 17 00:00:00 2001 From: Andrew Minnich Date: Mon, 26 Dec 2016 02:07:15 -0500 Subject: [PATCH] Make duplicate script compatible with Python 3 One of the `print` commands in duplicate.py was missing parentheses, which is not supported in Python 3. --- IPlugExamples/duplicate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPlugExamples/duplicate.py b/IPlugExamples/duplicate.py index 73ed2599..e36caf49 100755 --- a/IPlugExamples/duplicate.py +++ b/IPlugExamples/duplicate.py @@ -93,7 +93,7 @@ def dirwalk(dir, searchproject, replaceproject, searchman, replaceman): for x in dirwalk(fullpath, searchproject, replaceproject, searchman, replaceman): yield x elif (f in SUBFOLDERS_TO_SEARCH): - print 'recursing in ' + f + ' directory: ' + print('recursing in ' + f + ' directory: ') for x in dirwalk(fullpath, searchproject, replaceproject, searchman, replaceman): yield x @@ -178,4 +178,4 @@ def main(): print("\ndone - don't forget to change PLUG_UID and MFR_UID in config.h") if __name__ == '__main__': - main() \ No newline at end of file + main() -- 2.11.4.GIT