mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01: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:
parent
f889edabfa
commit
6a6b25f9cb
@ -322,8 +322,10 @@ def verify_pacs_old(pac_list):
|
||||
stderr=subprocess.STDOUT, close_fds=True).stdout
|
||||
|
||||
# restore locale
|
||||
if saved_LC_ALL: os.environ['LC_ALL'] = saved_LC_ALL
|
||||
else: os.environ.pop('LC_ALL')
|
||||
if saved_LC_ALL:
|
||||
os.environ['LC_ALL'] = saved_LC_ALL
|
||||
else:
|
||||
os.environ.pop('LC_ALL')
|
||||
|
||||
for line in o.readlines():
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user