__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
'''apport package hook for simple-scan (c) 2010 Canonical Ltd. Author: Robert Ancell <[email protected]> ''' import os.path from apport.hookutils import * LOG_FILE = os.path.expanduser('~/.cache/simple-scan/simple-scan.log') driver_packages = ['libsane', 'libsane1', 'libsane-extras', # SANE drivers 'hplip', 'hpoj', # HP drivers 'iscan', 'iscan-data', 'iscan-network-nt', # Epson drivers 'brscan', 'brscan2', 'brscan3', 'brscan4' # Brother drivers ] def add_info(report): attach_hardware(report) versions = '' for package in driver_packages: try: version = packaging.get_version(package) except ValueError: version = 'N/A' versions += '%s %s\n' % (package, version) report['DriverPackageVersions'] = versions attach_file_if_exists(report, LOG_FILE, 'SimpleScanLog')