mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-23 14:48:53 +02:00
fetch.py: fix "More than one statement on a single line"
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
@@ -322,8 +322,10 @@ def verify_pacs_old(pac_list):
|
|||||||
stderr=subprocess.STDOUT, close_fds=True).stdout
|
stderr=subprocess.STDOUT, close_fds=True).stdout
|
||||||
|
|
||||||
# restore locale
|
# restore locale
|
||||||
if saved_LC_ALL: os.environ['LC_ALL'] = saved_LC_ALL
|
if saved_LC_ALL:
|
||||||
else: os.environ.pop('LC_ALL')
|
os.environ['LC_ALL'] = saved_LC_ALL
|
||||||
|
else:
|
||||||
|
os.environ.pop('LC_ALL')
|
||||||
|
|
||||||
for line in o.readlines():
|
for line in o.readlines():
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user