r196 - /trunk/remote/base.py

Pierre Habouzit madcoder at costa.debian.org
Thu May 4 12:45:49 UTC 2006


Author: madcoder
Date: Thu May  4 12:45:47 2006
New Revision: 196

URL: http://svn.debian.org/wsvn/bts-link/?sc=1&rev=196
Log:
use some python-isms.

    (a and b) is a if !(bool)a else b

    (a or b)  is a if (bool)a else b


Modified:
    trunk/remote/base.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base.py.diff
Type: text/x-diff
Size: 902 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bts-link-commits/attachments/20060504/a59251ca/base.py.bin


More information about the bts-link-commits mailing list