From 5dd59cd49795fdd5c281938c9336c1dc188f5324 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 13 Feb 2009 13:57:58 +0200 Subject: scripts/ update, mostly from 2.1-stable Some docsrting updates also. Dispatchers have not upgraded for cascading yet. --- scripts/queue_mover.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/queue_mover.py') diff --git a/scripts/queue_mover.py b/scripts/queue_mover.py index 129728a3..bcfed8f0 100755 --- a/scripts/queue_mover.py +++ b/scripts/queue_mover.py @@ -1,10 +1,11 @@ #! /usr/bin/env python -# this script simply mover events from one queue to another +"""This script simply mover events from one queue to another.""" -import sys, os, pgq, skytools +import sys, os, pgq class QueueMover(pgq.SerialConsumer): + """Plain queue copy.""" def __init__(self, args): pgq.SerialConsumer.__init__(self, "queue_mover", "src_db", "dst_db", args) -- cgit v1.2.3