driverhelper.py attempts to import json twice: Once in line 3 and once again in line 12. Line 12 is designed to catch ImportErrors, so I guess line 3 is just an oversight.
Relevant code:
import os, re, sys, time, json, subprocess
try:
import apt, aptsources.distro, aptsources.sourceslist
apt_system = True
except ImportError:
apt_system = False
try:
import json
except ImportError:
import simplejson as json
driverhelper.pyattempts toimport jsontwice: Once in line 3 and once again in line 12. Line 12 is designed to catchImportErrors, so I guess line 3 is just an oversight.Relevant code: