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

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

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

revision 1.2 by jcater, Fri Sep 26 04:28:40 2003 UTC revision 1.3 by jcater, Fri Sep 26 18:07:24 2003 UTC
# Line 42  all = ( Line 42  all = (
42   'heading',   'heading',
43   'help',   'help',
44   'input',   'input',
45   'list',   'list',
  'option',  
46   'print',   'print',
47   'quit',   'quit',
48   'rollback',   'rollback',
49   'save',   'save',
50     'set',
51     'show',
52   'spool',   'spool',
53  )  )
54    
# Line 55  all = ( Line 56  all = (
56  def initCommands(instance):  def initCommands(instance):
57    commands = {}    commands = {}
58    for comm in all:    for comm in all:
59      commands[comm] = _import("gnue.dbtools.sql.commands.%s" % comm).Command(instance)      commands[_(comm)] = _import("gnue.dbtools.sql.commands.%s" % comm).Command(instance)  
60    return commands    return commands

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

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