# HG changeset patch # User Jeff Hammel # Date 1391027035 28800 # Node ID 04dfe64d1ba7e3ea7dcfce181052e313380645c5 # Parent c5537e841c78e5cc3c051a548e8b4524c4c94f02 STUB: .emacs diff -r c5537e841c78 -r 04dfe64d1ba7 .emacs --- a/.emacs Wed Jan 29 11:12:09 2014 -0800 +++ b/.emacs Wed Jan 29 12:23:55 2014 -0800 @@ -165,6 +165,9 @@ usage = '%prog [options]' parser = argparse.ArgumentParser(usage=usage, description=__doc__) + parser.add_option('input', nargs='?', + type=argparse.FileType('r'), default=sys.stdin, + help='input file, or read from stdin if ommitted') options = parser.parse_args(args) if __name__ == '__main__': @@ -190,7 +193,7 @@ return imp.load_source(module, dest) ") -(fset 'mozbase-test "#!/usr/bin/env python +(fset 'python-test "#!/usr/bin/env python # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file,