From d51b15a919c4d9268adca061f75b0514aaab502d Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 18 Feb 2015 18:46:13 +0100 Subject: [PATCH] Fix typo. Please test your Python code, as CI won't catch it. --- src/modules/localecfg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/localecfg/main.py b/src/modules/localecfg/main.py index 277321adb..ae477fec0 100644 --- a/src/modules/localecfg/main.py +++ b/src/modules/localecfg/main.py @@ -37,7 +37,7 @@ def run(): # restore backup if available if os.path.exists('/etc/locale.gen.bak'): - shutil.copy2("{!s}/etc/locale.gen.bak".format.(install_path), + shutil.copy2("{!s}/etc/locale.gen.bak".format(install_path), "{!s}/etc/locale.gen".format(install_path)) # run locale-gen if detected