PYTHONPATH=. contrib/check_i18n.py ./i18n.py Checking for invalid i18n string... Checking for invalid i18n string successfully ./model/vms.py:193:41: invalid syntax f'/plugins/kimchi/vms/{name}', self._create_task, data).id ^ ./model/interfaces.py:48:69: invalid syntax f'Invalid filter _inuse. _inuse: {_inuse}. Supported' ^ ./model/storagetargets.py:55:70: invalid syntax f'Query storage pool source fails because of ' ^ ./model/storagepools.py:114:74: invalid syntax f'Fatal: Unable to find storage pool {pool_name}.') ^ ./model/libvirtevents.py:97:67: invalid syntax wok_log.error(f'register attach event failed: {str(e)}') ^ ./model/storagevolumes.py:100:51: invalid syntax name = f'upload-{int(time.time())}' ^ ./model/hostdev.py:194:52: invalid syntax return globals()[f'_get_{dev_type}_dev_info'](info) ^ ./model/cpuinfo.py:63:77: invalid syntax wok_log.info(f'Unable to get CPU topology capabilities: {str(e)}') ^ ./model/host.py:254:68: invalid syntax unknown_dev = f'usb_vendor_{evendor}_product_{eproduct}' ^ ./model/config.py:47:42: invalid syntax class CapabilitiesModel(object, metaclass=Singleton): ^ ./model/networks.py:70:74: invalid syntax wok_log.error(f'Fatal: Unable to find network {net_name}.') ^ ./model/virtviewerfile.py:42:66: invalid syntax file_contents += f'password={params["graphics_passwd"]}\n' ^ ./scan.py:59:75: invalid syntax msg = f'Exception {e} occured when cleaning stale pool, ignore' ^ ./tests/test_rest.py:350:49: invalid syntax resp = self.request(f'{quoted_uri}/start', '{}', 'POST') ^ ./tests/test_template.py:226:51: invalid syntax f'/plugins/kimchi/templates/{new_name}') ^ ./tests/test_livemigration.py:278:55: invalid syntax self.fail(f'Migration test failed: {e}') ^ ./tests/test_model_storagepool.py:68:52: invalid syntax name = f'kīмсhī-storagepool-{i}' ^ ./tests/test_mock_storagevolume.py:103:59: invalid syntax f'/plugins/kimchi/storagepools/{pool_name}') ^ ./tests/test_model_network.py:60:71: invalid syntax uri = urllib.parse.quote(f'/plugins/kimchi/networks/{net_name}') ^ ./tests/test_model_storagevolume.py:68:49: invalid syntax f'/plugins/kimchi/tasks/{taskid}').read().decode('utf-8') ^ ./tests/test_mock_storagepool.py:106:75: invalid syntax uri = urllib.parse.quote(f'/plugins/kimchi/storagepools/{name}') ^ ./build-aux/generateDepsFiles.py:35:51: invalid syntax with open(f'{current_dir}/{os_distro}-pkg-deps', 'w') as fd: ^ ./serialconsole.py:376:52: invalid syntax print(f'usage: ./{sys.argv[0]} ') ^ ./contrib/check_i18n.py:48:31: invalid syntax print(f' {k}: {v}') ^ /usr/bin/pep8 --version 2.5.0 /usr/bin/pep8 --filename '*.py,*.py.in' --exclude="*config.py,*i18n.py,*tests/test_config.py" . ./utils.py:273:5: E722 do not use bare 'except' make: *** [Makefile:1074: check-local] Error 1