# define UNUSED(x) x
#endif
-static const char *__version__ = "$Revision: 1.14 $";
+
+#include "../../rrd_config.h"
+static const char *__version__ = PACKAGE_VERSION;
#include "Python.h"
#include "../../src/rrd_tool.h"
if (create_args("flushcached", args, &argc, &argv) < 0)
return NULL;
- if (rrd_cmd_flush(argc, argv) != 0) {
+ if (rrd_flushcached(argc, argv) != 0) {
PyErr_SetString(ErrorObject, rrd_get_error());
rrd_clear_error();
r = NULL;