Mercurial > sqlpython
diff mysqlpy.py @ 64:1a52de2c541e
minor tweaks
author | catherine@cordelia |
---|---|
date | Mon, 07 Apr 2008 09:37:55 -0400 |
parents | de6278a3bf53 |
children | 047f82acdc8f |
line wrap: on
line diff
--- a/mysqlpy.py Thu Apr 03 11:47:08 2008 -0400 +++ b/mysqlpy.py Mon Apr 07 09:37:55 2008 -0400 @@ -93,6 +93,10 @@ '''Runs query_load10g defined above, to display OS load on cluster nodes (10gRAC)''' self.do_select(self.query_load10g) + def do_himom(self,args): + '''greets your mom''' + print 'hi mom' + def do_db(self,args,filepath='pass.txt'): '''Exec do_connect to db_alias in args (credentials form the file pass.txt) ''' f = open(filepath,'r')