← Back to team overview

openerp-india team mailing list archive

[Bug 1050329] [NEW] [trunk] openerp.module.graph.Node: suspicious super() call

 

Public bug reported:

I noticed that in openerp/module/graph.py the method __setattr__ of
Node(Singleton) calls super(Singleton, self).__setattr__ rather than
super(Node, self).__setattr__.

If this is done for a purpose, it deserves a comment explaining why
things are done that way. Otherwise it deserves fixing.

Stable is probably affected too.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1050329

Title:
  [trunk] openerp.module.graph.Node: suspicious super() call

Status in OpenERP Server:
  New

Bug description:
  I noticed that in openerp/module/graph.py the method __setattr__ of
  Node(Singleton) calls super(Singleton, self).__setattr__ rather than
  super(Node, self).__setattr__.

  If this is done for a purpose, it deserves a comment explaining why
  things are done that way. Otherwise it deserves fixing.

  Stable is probably affected too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1050329/+subscriptions


Follow ups

References