Use 'auto' for run_pager default rather than None
authorW. Trevor King <wking@drexel.edu>
Mon, 7 Dec 2009 12:20:23 +0000 (07:20 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 7 Dec 2009 12:20:23 +0000 (07:20 -0500)
libbe/pager.py

index 3fcae84c6887366d0d19e7b5f33c00d5979edbb7..1ddc3fa3bcc9d6d362c5c9fa12b8e54bd07c3331 100644 (file)
@@ -21,7 +21,7 @@ Automatic pager for terminal output (a la Git).
 import sys, os, select
 
 # see http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby
-def run_pager(paginate=None):
+def run_pager(paginate='auto'):
     """
     paginate should be one of 'never', 'auto', or 'always'.