Commit 1a5e7fdc authored by Pavel Vainerman's avatar Pavel Vainerman

update python wrappers,

make style
parent 8cdcafb4
......@@ -197,6 +197,7 @@ void PostgreSQLInterface::cancel_query()
{
if( !db )
return;
db->cancel_query();
}
// -----------------------------------------------------------------------------------------
......
......@@ -26,7 +26,7 @@ namespace uniset
virtual bool ping() const = 0; // проверка доступности БД
virtual DBResult query( const std::string& q ) = 0;
virtual void cancel_query(){}; // попытка отменить текущий запрос
virtual void cancel_query() {}; // попытка отменить текущий запрос
virtual const std::string lastQuery() = 0;
virtual bool insert( const std::string& q ) = 0;
virtual double insert_id() = 0;
......
......@@ -6065,3 +6065,4 @@ SWIG_init(void) {
return;
#endif
}
......@@ -4589,3 +4589,4 @@ SWIG_init(void) {
return;
#endif
}
......@@ -6247,3 +6247,4 @@ SWIG_init(void) {
return;
#endif
}
......@@ -5914,3 +5914,4 @@ SWIG_init(void) {
return;
#endif
}
......@@ -199,3 +199,5 @@ UConnector_swigregister = _pyUConnector.UConnector_swigregister
UConnector_swigregister(UConnector)
# This file is compatible with both classic and new-style classes.
......@@ -163,3 +163,5 @@ UValidateError_swigregister = _pyUExceptions.UValidateError_swigregister
UValidateError_swigregister(UValidateError)
# This file is compatible with both classic and new-style classes.
......@@ -131,3 +131,5 @@ UModbus_swigregister = _pyUModbus.UModbus_swigregister
UModbus_swigregister(UModbus)
# This file is compatible with both classic and new-style classes.
......@@ -314,3 +314,5 @@ UProxyObject_swigregister = _pyUniSet.UProxyObject_swigregister
UProxyObject_swigregister(UProxyObject)
# This file is compatible with both classic and new-style classes.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment