Commit 25bad2abf63db36b1f251ad21c7a2e87dc51b9a1
1 parent
7f7cc812
Exists in
master
Ajustes para empacotamento.
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
rpm/python-pw3270.spec
src/py3270.cc
| ... | ... | @@ -143,8 +143,9 @@ PyMODINIT_FUNC initpy3270(void) { |
| 143 | 143 | |
| 144 | 144 | PyObject *m = Py_InitModule("py3270", MyMethods); |
| 145 | 145 | |
| 146 | - if (m == NULL) | |
| 147 | - return; | |
| 146 | + if (m == NULL) { | |
| 147 | + return; | |
| 148 | + } | |
| 148 | 149 | |
| 149 | 150 | // Adiciona objeto para tratamento de erros. |
| 150 | 151 | terminalError = PyErr_NewException((char *) "py3270.error", NULL, NULL); | ... | ... |