Review Request: EmergeBase: Ensure that an object of this type always has an attribute buildSystemType. Where it was nonexistant till now, it would now be None

Ralf Habacker ralf.habacker at freenet.de
Tue Jan 18 22:03:56 CET 2011


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

Ship it!


looks good

- Ralf


On Jan. 16, 2011, 11:28 p.m., Wolfgang Rohdewald wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6345/
> -----------------------------------------------------------
> 
> (Updated Jan. 16, 2011, 11:28 p.m.)
> 
> 
> Review request for kde-windows.
> 
> 
> Summary
> -------
> 
>     EmergeBase.__init__: if the object does not yet have attribute
>     buildSystemType, set it to None. This makes referencing this
>     attribute easier because "if hasattr()" is no longer needed. And
>     it makes pylint happy.
>     The same thing has already been done with subinfo, r1214441, which
>     resulted in no complaints or problems
> 
> 
> Diffs
> -----
> 
>   /trunk/kdesupport/emerge/bin/EmergeBase.py 1214807 
>   /trunk/kdesupport/emerge/bin/Package/PackageBase.py 1214807 
>   /trunk/kdesupport/emerge/bin/Packager/NullsoftInstallerPackager.py 1214807 
>   /trunk/kdesupport/emerge/bin/Source/ArchiveSource.py 1214807 
>   /trunk/kdesupport/emerge/bin/Source/FileSource.py 1214807 
>   /trunk/kdesupport/emerge/bin/Source/SourceBase.py 1214807 
> 
> Diff: http://svn.reviewboard.kde.org/r/6345/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Wolfgang
> 
>

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


More information about the Kde-windows mailing list