diff --git a/rpm/python-pw3270.spec b/rpm/python-pw3270.spec index a113d38..0e839bc 100644 --- a/rpm/python-pw3270.spec +++ b/rpm/python-pw3270.spec @@ -27,6 +27,7 @@ BuildRequires: pkgconfig(python) Requires: python Requires: lib3270 >= 5.1 +Requires: dbus-1 %description diff --git a/src/py3270.cc b/src/py3270.cc index 7347da8..1df732d 100644 --- a/src/py3270.cc +++ b/src/py3270.cc @@ -143,8 +143,9 @@ PyMODINIT_FUNC initpy3270(void) { PyObject *m = Py_InitModule("py3270", MyMethods); - if (m == NULL) - return; + if (m == NULL) { + return; + } // Adiciona objeto para tratamento de erros. terminalError = PyErr_NewException((char *) "py3270.error", NULL, NULL); -- libgit2 0.21.2