Skip to content
Browse files
Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Jun 21, 2015
1 parent d42e655 commit b4ba52a2650f024193a6762f870468dc653e9c22
Showing 1 changed file with 2 additions and 1 deletion.
@@ -43,12 +43,12 @@
PAGELOGGER = utils.get_logger('new_page', utils.STDERR_HANDLER)

def filter_post_pages(compiler, is_post, compilers, post_pages, compiler_names, compilers_raw=None):
"""Given a compiler ("markdown", "rest"), and whether it's meant for
a post or a page, and compilers, return the correct entry from

# compilers_raw is used only for passing to print_compilers, but we can fill
# in the old version ifneeded
if compilers_raw is None:
@@ -142,6 +142,7 @@ def print_compilers(compilers_raw, post_pages, compiler_names):
~ not in the COMPILERS dict (disabled)
Read more: {0}""".format(COMPILERS_DOC_LINK))

def get_default_compiler(is_post, compilers, post_pages):
"""Given compilers and post_pages, return a reasonable
default compiler for this kind of post/page.

0 comments on commit b4ba52a

Please sign in to comment.