コード例 #1
0
ファイル: __init__.py プロジェクト: SeekingFor/infocalypse
def infocalypse_setup(ui_, **opts):
    """ Setup the extension for use for the first time. """

    execute_setup(ui_, opts['fcphost'], opts['fcpport'], opts['tmpdir'])

    if not opts['nofms']:
        execute_setupfms(ui_, opts)
    else:
        ui_.status("Skipped FMS configuration because --nofms was set.\n")
コード例 #2
0
ファイル: __init__.py プロジェクト: SeekingFor/infocalypse
def infocalypse_setup(ui_, **opts):
    """ Setup the extension for use for the first time. """

    execute_setup(ui_,
                  opts['fcphost'],
                  opts['fcpport'],
                  opts['tmpdir'])

    if not opts['nofms']:
        execute_setupfms(ui_, opts)
    else:
        ui_.status("Skipped FMS configuration because --nofms was set.\n")
コード例 #3
0
ファイル: commands.py プロジェクト: ArneBab/infocalypse
def infocalypse_setupfms(ui_, **opts):
    """ Setup or modify the fms configuration. """
    # REQUIRES config file.
    execute_setupfms(ui_, opts)
コード例 #4
0
ファイル: __init__.py プロジェクト: SeekingFor/infocalypse
def infocalypse_setupfms(ui_, **opts):
    """ Setup or modify the fms configuration. """
    # REQUIRES config file.
    execute_setupfms(ui_, opts)