diff example/example.py @ 287:1cd23003e8d5

refactoring, but something went wrong with comments
author catherine@bothari
date Mon, 19 Oct 2009 18:00:26 -0400
parents 5147fa4166b0
children cd12e4e0fa17
line wrap: on
line diff
--- a/example/example.py	Fri Oct 16 17:52:47 2009 -0400
+++ b/example/example.py	Mon Oct 19 18:00:26 2009 -0400
@@ -30,6 +30,8 @@
     do_say = do_speak     # now "say" is a synonym for "speak"
     do_orate = do_speak   # another synonym, but this one takes multi-line input
 
+c = CmdLineApp()
+
 class TestMyAppCase(Cmd2TestCase):
     CmdApp = CmdLineApp
 parser = optparse.OptionParser()
@@ -41,4 +43,6 @@
     sys.argv = [sys.argv[0]] # the --test argument upsets unittest.main()
     unittest.main()
 else:
-    CmdLineApp().cmdloop()
\ No newline at end of file
+    pass
+    #CmdLineApp().cmdloop()
+