/[gnue]/gnue-dbtools/src/sql/commands/call.py
ViewVC logotype

Diff of /gnue-dbtools/src/sql/commands/call.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jcater, Fri Sep 19 21:51:48 2003 UTC revision 1.2 by jcater, Fri Sep 26 04:28:40 2003 UTC
# Line 27  Line 27 
27  # NOTES:  # NOTES:
28  #  #
29    
30  from Base import BaseCommand  from Base import BaseCommand, CommandError
31    
32  class Command(BaseCommand):  class Command(BaseCommand):
33      SHORT = "Runs another GNUe SQL script file"
34    def call(self, args):    def call(self, args):
35      if len(args) != 1:      if not len(args):
36        raise CommandError, _("call requires a filename to be passed")        raise CommandError, _("CALL requires a filename to be passed as its first argument")
37      self.instance.processFile(args[0])      self.instance.processFile(args[0])

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26