mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
sip_to_pjsip.py: Fix comment typo and tabs.
Change-Id: If35174614545727817d329c60ba4456c028941b5
This commit is contained in:
@@ -17,7 +17,7 @@ PREFIX = 'pjsip_'
|
|||||||
def section_by_type(section, pjsip, type):
|
def section_by_type(section, pjsip, type):
|
||||||
"""Finds a section based upon the given type, adding it if not found."""
|
"""Finds a section based upon the given type, adding it if not found."""
|
||||||
def __find_dict(mdicts, key, val):
|
def __find_dict(mdicts, key, val):
|
||||||
"""Given a list of mult-dicts, return the multi-dict that contains
|
"""Given a list of multi-dicts, return the multi-dict that contains
|
||||||
the given key/value pair."""
|
the given key/value pair."""
|
||||||
|
|
||||||
def found(d):
|
def found(d):
|
||||||
@@ -1181,7 +1181,7 @@ def cli_options():
|
|||||||
"""
|
"""
|
||||||
global PREFIX
|
global PREFIX
|
||||||
usage = "usage: %prog [options] [input-file [output-file]]\n\n" \
|
usage = "usage: %prog [options] [input-file [output-file]]\n\n" \
|
||||||
"Converts the chan_sip configuration input-file to the chan_pjsip output-file.\n"\
|
"Converts the chan_sip configuration input-file to the chan_pjsip output-file.\n" \
|
||||||
"The input-file defaults to 'sip.conf'.\n" \
|
"The input-file defaults to 'sip.conf'.\n" \
|
||||||
"The output-file defaults to 'pjsip.conf'."
|
"The output-file defaults to 'pjsip.conf'."
|
||||||
parser = optparse.OptionParser(usage=usage)
|
parser = optparse.OptionParser(usage=usage)
|
||||||
|
Reference in New Issue
Block a user