Review Request: sanitize applyPatch()

Ralf Habacker ralf.habacker at freenet.de
Tue Jan 18 22:00:36 CET 2011


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

Ship it!


looks good

- Ralf


On Jan. 16, 2011, 11:34 p.m., Wolfgang Rohdewald wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6347/
> -----------------------------------------------------------
> 
> (Updated Jan. 16, 2011, 11:34 p.m.)
> 
> 
> 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/20110118/ea279209/attachment.htm 


More information about the Kde-windows mailing list