~matsubara/curtin/jenkins

Viewing all changes in revision 301.

  • Committer: Scott Moser
  • Date: 2015-11-16 19:14:13 UTC
  • mfrom: (299.1.1 fix-teardown-self)
  • Revision ID: smoser@ubuntu.com-20151116191413-018wdmlewam5ncfr
change arguments to a class method to be 'cls' rather than 'self'.

passing 'self' to a class method is just confusing.
If you're looking at code out of context, or not paying attention
to the decorator, you very well expect for 'self.method()' to work.

This just changes all that from 'self' to 'cls' so its more obvious.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: