From 85f99b39fc34135e831125ecd8df6f12a4958e3e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 25 Jul 2015 07:14:10 -0400 Subject: No need to conditionalize python_implementation any more. --- coverage/control.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index 48ee47be..16cf74ee 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -1003,10 +1003,6 @@ class Coverage(object): import coverage as covmod self._init() - try: - implementation = platform.python_implementation() - except AttributeError: - implementation = "unknown" ft_plugins = [] for ft in self.plugins.file_tracers: @@ -1027,7 +1023,7 @@ class Coverage(object): ('data_path', self.data_files.filename), ('python', sys.version.replace('\n', '')), ('platform', platform.platform()), - ('implementation', implementation), + ('implementation', platform.python_implementation()), ('executable', sys.executable), ('cwd', os.getcwd()), ('path', sys.path), -- cgit v1.2.1