Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/76464
Change subject: Rename to subscriptions.py, which is more accurate
......................................................................
Rename to subscriptions.py, which is more accurate
Change-Id: I8ff8cb90e12ee05991f93ddd3c457b47c089ec4b
---
R src/subscriptions.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/tools/gerrit-to-redis
refs/changes/64/76464/1
diff --git a/src/register-stream-client.py b/src/subscriptions.py
similarity index 90%
rename from src/register-stream-client.py
rename to src/subscriptions.py
index 9036291..123f0a9 100644
--- a/src/register-stream-client.py
+++ b/src/subscriptions.py
@@ -17,7 +17,7 @@
PREFIX = config['stream_receiver']['redis_prefix']
CLIENTS_KEY = config['stream_receiver']['clients_key']
-logging.basicConfig(format='%(asctime)s %(message)s',
filename=os.path.expanduser('~/logs/register-stream-client'),
level=logging.INFO)
+logging.basicConfig(format='%(asctime)s %(message)s',
filename=os.path.expanduser('~/logs/stream-subscriptions'), level=logging.INFO)
logging.info('Attempting to Redis connection to %s', REDIS_HOST)
red = redis.StrictRedis(host=REDIS_HOST, db=REDIS_DB)
@@ -40,7 +40,7 @@
parser = argparse.ArgumentParser(description="Manage redis gerrit
subscriptions")
subparsers = parser.add_subparsers()
- parser_subscribe = subparsers.add_parser('subscribe', help='Add a
subscription')
+ parser_subscribe = subparsers.add_parser('add', help='Add a subscription')
parser_subscribe.add_argument('key')
parser_subscribe.set_defaults(func=add_subscription)
--
To view, visit https://gerrit.wikimedia.org/r/76464
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ff8cb90e12ee05991f93ddd3c457b47c089ec4b
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/gerrit-to-redis
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits