On Tue, 30 Jun 2015 16:17:04 -0400 Sandro Tosi <mo...@debian.org> wrote:
> Package: wnpp > Severity: wishlist > Owner: Sandro Tosi <mo...@debian.org> > > * Package name : python-conditional > Version : 1.1 > Upstream Author : Stefan H. Holek > * URL : https://github.com/stefanholek/conditional > * License : BSD > Programming Lang: Python > Description : conditionally enter a context manager > > The conditional context manager comes handy when you always want to > execute a with-block but only conditionally want to apply its context > manager. An entire package for just 18 lines of python? 3 of those lines are docstring. Even if a few packages import it, it doesn't really seem worth packaging separately. Just wondering. https://github.com/stefanholek/conditional/blob/master/conditional/conditional.py -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgpPeCnLUuYSg.pgp
Description: OpenPGP digital signature