Message ID | 20190125140610.7810-3-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,1/2] device-crash-test: Python 3 compatibility fix | expand |
diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 0bc73b5990..e342d278b8 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -204,7 +204,7 @@ def output(*args): output_fd.write(a) -if sys.version_info >= (3, 0): +if sys.version_info >= (3, 4): re_fullmatch = re.fullmatch else: def re_fullmatch(pat, str):