We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae73224 commit 2a1c81eCopy full SHA for 2a1c81e
python/jsbeautifier/cli/__init__.py
@@ -146,7 +146,7 @@ def get_filepaths_from_params(filepath_params, replace):
146
elif "*" in filepath_param or "?" in filepath_param:
147
# handle globs
148
# empty result is okay
149
- if sys.version_info.major == 3 and sys.version_info.minor <= 4:
+ if sys.version_info <= (3, 4):
150
if "**" in filepath_param:
151
raise Exception("Recursive globs not supported on Python <= 3.4.")
152
filepaths.extend(glob.glob(filepath_param))
0 commit comments