Exemplo n.º 1
0
def dedupe_stats_announcement(duplicate_slug, authoritative_slug, noop=False):
    """De-duplicate Whitehall statistics announcement"""
    option = ' -n' if noop else ''
    command = './script/dedupe_stats_announcement{} {} {}'.format(
        option, duplicate_slug, authoritative_slug)

    util.bundle_exec('whitehall', command)
Exemplo n.º 2
0
def dedupe_stats_announcement(duplicate_slug, authoritative_slug, noop=False):
    """De-duplicate Whitehall statistics announcement"""
    option = ' -n' if noop else ''
    command = './script/dedupe_stats_announcement{} {} {}'.format(
        option, duplicate_slug, authoritative_slug)

    util.bundle_exec('whitehall', command)
Exemplo n.º 3
0
def rails_console(app):
    """Attach to a Rails application's console"""
    bundle_exec(app, 'rails console')