diff sqlpython/sqlpyPlus.py @ 250:aec778ef82b6

print full help on -h
author catherine@Elli.myhome.westell.com
date Thu, 12 Mar 2009 07:58:42 -0400
parents 9e3e49c95abf
children aa33f495a289
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Wed Mar 11 12:49:02 2009 -0400
+++ b/sqlpython/sqlpyPlus.py	Thu Mar 12 07:58:42 2009 -0400
@@ -1034,7 +1034,7 @@
             except KeyError:
                 self.stdout.write('No bind variable %s\n' % arg)
         else:
-            for (var, val) in self.binds.items():
+            for (var, val) in sorted(self.binds.items()):
                 print ':%s = %s' % (var, val)
 
     assignmentScanner = Parser(pyparsing.Literal(':=') ^ '=')