diff sqlpyPlus.py @ 34:d3b2f9c6e536

run
author devlinjs@FA7CZA6N1254998.wrightpatterson.afmc.ds.af.mil
date Fri, 21 Dec 2007 16:01:52 -0500
parents ca6f34be3397
children 5d29e6a21c6f
line wrap: on
line diff
--- a/sqlpyPlus.py	Fri Dec 21 15:56:33 2007 -0500
+++ b/sqlpyPlus.py	Fri Dec 21 16:01:52 2007 -0500
@@ -680,20 +680,6 @@
 
     bufferPosPattern = re.compile('\d+')
     rangeIndicators = ('-',':')
-        
-    def do_run(self, arg):
-        """run [arg]: re-runs an earlier command
-        
-        no arg -> run most recent command
-        arg is integer -> run one history item, by index
-        arg is string -> run most recent command by string search
-        arg is /enclosed in forward-slashes/ -> run most recent by regex
-        """        
-        'run [N]: runs the SQL that was run N commands ago'
-        runme = self.last_matching(arg)
-        print runme
-        self.onecmd_plus_hooks(runme)
-    do_r = do_run
 
     def do_get(self, fname):
         'Brings SQL commands from a file to the in-memory SQL buffer.'