mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 04:20:22 +01:00
otherwise setup.py build wont work
This commit is contained in:
2
setup.py
2
setup.py
@@ -631,7 +631,7 @@ class compile_translations(Command):
|
||||
msgfmt = subprocess.Popen(['msgfmt', '--statistics', pofile,
|
||||
'-o', '/dev/null'], stderr=subprocess.PIPE)
|
||||
returncode = msgfmt.wait() # let it finish, and get the exit code
|
||||
output = msgfmt.stderr.readline().strip()
|
||||
output = msgfmt.stderr.readline().strip().decode('utf-8')
|
||||
if len(output) == 0 or returncode != 0:
|
||||
print(len(output), returncode)
|
||||
raise ValueError
|
||||
|
||||
Reference in New Issue
Block a user