#258 reference to nonexistent attribute

closed-fixed
Postgres (36)
5
2009-12-31
2009-12-31
dkeeney
No

The __init__ method of PostgresConnection has this line sequence near the end:

if "charset" in kw:
self.dbEncoding = self.kw["charset"] = kw.pop("charset")

The self.kw attribute does not exist, so if a 'charset' keyword param is provided, the init crashes.

Discussion

  • Oleg Broytman

    Oleg Broytman - 2009-12-31

    Fixed in r4065. Thank you!

     
  • Oleg Broytman

    Oleg Broytman - 2009-12-31
    • assigned_to: nobody --> phd
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks