Module ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad keyword Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body Assign NameStore Call AttributeLoad Call NameLoad BinOpMod Str NameLoad attr If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad NameLoad body Break Expr Call NameLoad BinOpMod Str NameLoad Return CompareEq SubscriptLoad NameLoad Index Num Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Return CompareIsNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Return CompareIsNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIsNot NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMod Str NameLoad While UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword Str keyword BinOpAdd Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Assign TupleStore SubscriptStore Call NameLoad Index Str NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad Str Expr Call NameLoad Num For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ print_function unicode_literals N/A os N/A re optparse OptionParser django.utils.six.moves input jinja2 Environment FileSystemLoader reviewboard get_version_string N/A env N/A Environment loader N/A FileSystemLoader N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ templates extensions N/A options None get_confirmation N/A N/A question N/A N/A N/A 
    Will pose the question to the user and keep asking them until they
    provide an answer that starts with either a 'y' or an 'n', at which
    point it will return True if it was a 'y'.
     N/A True N/A N/A response N/A N/A N/A input N/A %s (y/n):  question lower N/A N/A N/A N/A re match ^[yn] response None N/A N/A N/A N/A print N/A Incorrect option '%s' response N/A N/A N/A response N/A 0 y N/A NamingConvention N/A object N/A N/A 
    Provides functionality for testing adherence to a naming convention
    and a method for converting a string to the convention.
     N/A ILLEGAL_CHARACTERS N/A N/A re compile [^A-Za-z0-9 ] formatted N/A N/A self string N/A N/A N/A False N/A convert N/A N/A self string N/A N/A N/A string N/A N/A CamelCase N/A NamingConvention N/A N/A 
    This represents the camel case naming convention and is typically used for
    class names. All tokens are one of the following:
        1) Alphabetic and starting with a capital
        2) Numeric
        3) Alphanumeric and starting with a capital letter
    There must be at least one token, and the first character must be a
    capital letter.
     N/A REGEX N/A N/A re compile ^[A-Z][a-z0-9]*(([0-9]+)|([A-Z][a-z0-9]*))*$ formatted N/A N/A self string N/A N/A N/A N/A N/A N/A re match N/A self REGEX string None N/A convert N/A N/A self string N/A N/A N/A string N/A N/A re sub N/A self ILLEGAL_CHARACTERS string N/A string N/A N/A re sub ([0-9a-zA-Z])([A-Z]) \1 \2 string N/A N/A N/A join N/A N/A N/A word capitalize N/A word N/A N/A string split N/A N/A LowerCaseWithUnderscores N/A NamingConvention N/A N/A 
    This represents the case typically used for module/package names (and
    perhaps functions). All tokens are one of the following separated by
    an underscore:
        1) Alphabetic lower case
        2) Numeric
        3) Alphanumeric lower case and starting with a letter
    There must be at least one token, and the first character must be a letter.
     N/A REGEX N/A N/A re compile ^[a-z][a-z0-9]*(_+(([0-9]+)|([a-z][a-z0-9]*)))*_*$ formatted N/A N/A self string N/A N/A N/A N/A N/A N/A re match N/A self REGEX string None N/A convert N/A N/A self string N/A N/A N/A string N/A N/A re sub N/A self ILLEGAL_CHARACTERS string N/A string N/A N/A re sub ([0-9a-zA-Z])([A-Z]) \1 \2 string N/A N/A N/A _ join N/A N/A N/A N/A string lower split N/A N/A get_formatted_string N/A N/A string_type string fallback case N/A N/A N/A 
    Given the name of the type of string, the string itself, and the fallback
    from which a string will be auto-generated in the given case if the given
    string does not conform to the case.
     N/A N/A string None N/A N/A N/A N/A case formatted string N/A N/A string N/A N/A string N/A N/A case convert fallback N/A question N/A Do you wish to use %s as the %s? N/A string string_type N/A N/A N/A get_confirmation question N/A N/A string N/A input N/A Please input a %s:  string_type N/A N/A N/A N/A case formatted string N/A N/A N/A print N/A '%s' is not a valid %s. N/A string string_type N/A string N/A input N/A Please input a valid %s:  string_type N/A string N/A parse_options N/A N/A N/A N/A N/A 
    Parses the options and stores them in the global options variable.
     N/A parser N/A OptionParser usage %prog name [options] version N/A Review Board  N/A get_version_string N/A N/A N/A parser add_option --class-name dest class_name default None help class name of extension (capitalized no spaces) N/A N/A N/A parser add_option --package-name dest package_name default None help package name of extension (lower case with underscores) N/A N/A N/A parser add_option --description dest description default None help description of extension N/A N/A N/A parser add_option --author dest author default None help author of the extension N/A N/A N/A parser add_option --is-configurable dest is_configurable action store_true default False help whether this extension is configurable N/A N/A N/A N/A globals N/A options args N/A N/A parser parse_args N/A N/A N/A len args 1 N/A N/A N/A print Error: incorrect number of arguments N/A N/A N/A parser print_help N/A N/A exit -1 N/A N/A options extension_name N/A args N/A 0 N/A N/A autofill_unprovided_options N/A autofill_unprovided_options N/A N/A N/A N/A N/A 
    This will autofill all the empty 'necessary' options that can be auto-
    generated from the necessary fields.
     N/A N/A options package_name N/A get_formatted_string package name N/A options package_name N/A options extension_name N/A LowerCaseWithUnderscores N/A N/A options class_name N/A get_formatted_string class name N/A options class_name N/A options extension_name N/A CamelCase N/A N/A N/A options description None N/A N/A N/A options description N/A Extension %s N/A options extension_name N/A TemplateBuilder N/A object N/A N/A 
    A builder that handles the creation of directories for the registed
    template files in addition to creating the output files by filling
    in the templates with the values from options.
     __init__ N/A N/A self package_name options N/A N/A N/A N/A self package_name package_name N/A N/A self options N/A vars options N/A N/A self templates N/A N/A N/A self directories N/A set N/A add_template N/A N/A self template target N/A N/A N/A target N/A N/A re sub \{\{PACKAGE\}\} N/A self package_name target N/A N/A N/A self templates N/A template target N/A directory N/A N/A N/A os path dirname target N/A N/A N/A self add_directory N/A N/A N/A os path join N/A self package_name directory N/A add_directory N/A N/A self dir_name N/A N/A N/A N/A N/A N/A self directories add dir_name N/A build N/A N/A self N/A N/A N/A N/A N/A self _build_directories N/A N/A N/A self _fill_templates N/A _build_directories N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self package_name N/A N/A question N/A Directory '%s' already exists. Do you wish to continue? N/A self package_name N/A N/A N/A get_confirmation question N/A N/A N/A print Exiting... N/A N/A exit -1 N/A directory N/A self directories N/A N/A N/A N/A N/A N/A os path exists directory N/A N/A N/A N/A os makedirs directory N/A _fill_templates N/A N/A self N/A N/A N/A N/A template target N/A N/A N/A self templates iteritems N/A N/A N/A N/A self _write_file template target N/A self options N/A _write_file N/A N/A self template target file_opts N/A N/A N/A filepath N/A N/A N/A os path join N/A self package_name target N/A f N/A open filepath w N/A template N/A N/A env get_template template N/A N/A N/A f writelines N/A N/A template render file_opts N/A N/A N/A f close N/A N/A main N/A N/A N/A N/A N/A N/A parse_options N/A builder N/A TemplateBuilder N/A options package_name options N/A N/A N/A builder add_template setup.py setup.py N/A N/A N/A builder add_template extension/extension.py {{PACKAGE}}/extension.py N/A N/A N/A builder add_template extension/__init__.py {{PACKAGE}}/__init__.py N/A N/A N/A builder add_template extension/admin_urls.py {{PACKAGE}}/admin_urls.py N/A N/A options is_configurable N/A N/A N/A N/A builder add_template extension/templates/extension/configure.html {{PACKAGE}}/templates/{{PACKAGE}}/configure.html N/A N/A N/A builder add_template extension/views.py {{PACKAGE}}/views.py N/A N/A N/A builder build N/A N/A N/A __name__ __main__ N/A N/A N/A main