/[sshproxy]/sshproxy/SSHproxy/pwdb/mysql.py
ViewVC logotype

Diff of /sshproxy/SSHproxy/pwdb/mysql.py

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

revision 1.1 by dguerizec, Thu Jul 21 09:43:36 2005 UTC revision 1.2 by dguerizec, Thu Sep 22 08:58:31 2005 UTC
# Line 24  from SSHproxy.config import MySQLConfig Line 24  from SSHproxy.config import MySQLConfig
24    
25  cfg = MySQLConfig()  cfg = MySQLConfig()
26    
27  db = MySQLdb.connect(host=cfg.host, port=cfg.port, db=cfg.db, user=cfg.user, passwd=cfg.password)  db = MySQLdb.connect(
28            host=cfg.host,
29            port=cfg.port,
30            db=cfg.db,
31            user=cfg.user,
32            passwd=cfg.password)
33    
34  class MySQLPwDB(simple.SimplePwDB):  class MySQLPwDB(simple.SimplePwDB):
35      def __init__(self):      def __init__(self):

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