otherwise setup.py build wont work
This commit is contained in:
1 parent
49ad8e4653
commit
8c2696b78c
2 files changed
+2
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
.git
|
||||
wicd.egg-info/
|
||||
*.bak
|
||||
**/*.pyc
|
||||
|
||||
@@ -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