Skip to content

Commit f71d78c

Browse files
committed
Merge stuff
1 parent 4e8c62c commit f71d78c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

uncompyle6/verify.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# (C) Copyright 2015-2018, 2020-2021, 2023, 2025 by Rocky Bernstein
2+
# (C) Copyright 2015-2018, 2020-2021, 2023, 2026 by Rocky Bernstein
33
# (C) Copyright 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
44
#
55
# This program is free software: you can redistribute it and/or modify
@@ -27,7 +27,6 @@
2727
from xdis import PYTHON_MAGIC_INT, iscode, load_file, load_module, pretty_code_flags
2828
from xdis.version_info import PythonImplementation
2929

30-
import uncompyle6
3130
from uncompyle6.scanner import Token as ScannerToken, get_scanner
3231

3332
truediv = operator.truediv
@@ -502,8 +501,7 @@ def compare_code_with_srcfile(pyc_filename, src_filename, verify):
502501
except SyntaxError as e:
503502
# src_filename can be the first of a group sometimes
504503
return str(e).replace(src_filename, pyc_filename)
505-
is_pypy = python_impementation is PythonImplementation.PyPy
506-
cmp_code_objects(version, is_pypy, code_obj1, code_obj2, verify)
504+
cmp_code_objects(version, python_implementation, code_obj1, code_obj2, verify)
507505
if verify == "verify-run":
508506
try:
509507
retcode = call("%s %s" % (sys.executable, src_filename), shell=True)

0 commit comments

Comments
 (0)