File obs-service-tar_scm_sles11-fix.diff of Package obs-service-tar_scm

--- TarSCM/cli.py.orig	2019-11-04 14:27:20.271445548 -0600
+++ TarSCM/cli.py	2019-11-04 14:28:22.987407075 -0600
@@ -20,7 +20,8 @@
 
 
 def check_locale(loc):
-    aloc_tmp = subprocess.check_output(['locale', '-a'])
+    process = subprocess.Popen(['locale','-a'], stdout=subprocess.PIPE)
+    aloc_tmp,err = process.communicate()
     aloc = dict()
 
     for tloc in aloc_tmp.decode().split('\n'):