-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26442/
-----------------------------------------------------------

(Updated Oct. 20, 2014, 11:09 a.m.)


Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-7685
    https://issues.apache.org/jira/browse/CLOUDSTACK-7685


Repository: cloudstack-git


Description (updated)
-------

Error details:
unbound method copy() must be called with Template instance as first argument 
(got CloudStackAPIClient instance instead)

Reason:
There are bound and unbound methods "copy" in Template class with the same 
name. Apparently when bound and unbound methods with same name are defined, 
call to unbound method fails.

Solution:
Keep only bound method.

Please note that I have ensured no test case makes call to unbound method 
(Template.copy).


Diffs
-----

  test/integration/component/test_escalations_templates.py 78028bc 
  tools/marvin/marvin/lib/base.py 77faeeb 

Diff: https://reviews.apache.org/r/26442/diff/


Testing
-------

Tested with python command/pyflakes.


Thanks,

Gaurav Aradhye

Reply via email to