Review Request: sanitize applyPatch()

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Jan 17 00:34:01 CET 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6347/
-----------------------------------------------------------

Review request for kde-windows.


Summary
-------

    *Source.applyPatch: The overriding methods in GitSource, HgSource,
    SvnSource should have the same number of arguments as in the
    base class. This does not fix a bug, it is just cleaner and makes
    pylint happy - and it might prevent future bugs.
    
    MultiSource.applyPatch() cannot possibly work. So raise an
    exception explaining the situation and comment the wrong code.


Diffs
-----

  /trunk/kdesupport/emerge/bin/Source/GitSource.py 1214807 
  /trunk/kdesupport/emerge/bin/Source/HgSource.py 1214807 
  /trunk/kdesupport/emerge/bin/Source/MultiSource.py 1214807 
  /trunk/kdesupport/emerge/bin/Source/SourceBase.py 1214807 
  /trunk/kdesupport/emerge/bin/Source/SvnSource.py 1214807 

Diff: http://svn.reviewboard.kde.org/r/6347/diff


Testing
-------


Thanks,

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110116/f6c1b577/attachment-0001.htm 


More information about the Kde-windows mailing list