2010-06-05 | Paul Boddie | raw files shortlog changelog graph | Added null argument notation in order to actually support other arguments when processing the package itself. | |
test.py (file) |
1.1 --- a/test.py Wed Jun 02 22:00:29 2010 +0200 1.2 +++ b/test.py Sat Jun 05 00:47:05 2010 +0200 1.3 @@ -43,7 +43,7 @@ 1.4 p = micropython.cmd.get_program(path, args) 1.5 i = p.get_importer() 1.6 1.7 - if filename is None: 1.8 + if filename is None or filename == "-": 1.9 print "Loading module micropython ..." 1.10 m = i.load("micropython") 1.11 else: