1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-09 13:42:38 +01:00

new_wikis_handler: Remove debug code

This commit is contained in:
Martin Urbanec 2020-08-02 18:48:16 +02:00
parent 7d1748b68d
commit 9b8c348e29

View file

@ -72,7 +72,7 @@ def get_dummy_wiki(shard, family):
}.get(shard, "?????") }.get(shard, "?????")
else: else:
return { return {
#"s3": "aawiki", "s3": "aawiki",
"s5": "cebwiki" # TODO: Change this to muswiki once T259004 is done "s5": "cebwiki" # TODO: Change this to muswiki once T259004 is done
}.get(shard, "?????") }.get(shard, "?????")
@ -246,7 +246,7 @@ def hande_task(phid):
add_text(' [] Clean up old interwiki links') add_text(' [] Clean up old interwiki links')
add_text('\n-------') add_text('\n-------')
add_text('**Step by step commands**:') add_text('**Step by step commands**:')
dummy_wiki = get_dummy_wiki("s3", parts[1]) dummy_wiki = get_dummy_wiki(shard, parts[1])
add_text('On deploy1001:') add_text('On deploy1001:')
add_text('`cd /srv/mediawiki-staging/`') add_text('`cd /srv/mediawiki-staging/`')
add_text('`git fetch`') add_text('`git fetch`')