Commit 25bad2abf63db36b1f251ad21c7a2e87dc51b9a1

Authored by Perry Werneck
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
... ... @@ -27,6 +27,7 @@ BuildRequires: pkgconfig(python)
27 27  
28 28 Requires: python
29 29 Requires: lib3270 >= 5.1
  30 +Requires: dbus-1
30 31  
31 32 %description
32 33  
... ...
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);
... ...