[Yum] what do You think about this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--=-7vIe1NlpROn+BIUd6BGq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2002-11-05 at 17:08, Vladimir Bormotov wrote:
>                 Hi!
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> diff -u -r1.51 clientStuff.py
> --- clientStuff.py	5 Nov 2002 01:33:45 -0000	1.51
> +++ clientStuff.py	5 Nov 2002 22:02:42 -0000
> @@ -212,6 +212,11 @@
> =20
>      return h
> =20
> +MAP_OBSOLETES =3D [('>', 1),
> +                 ('>=3D', 1), ('>=3D', 0),
> +                 ('=3D', 0),
> +                 ('<=3D', 0), ('<=3D', -1),
> +                 ('<', -1)]
> =20

Honestly I think mine is easier to follow.

and that portion of code made my mind twist a little bit trying to make
sure I had the ordering and cases right.

so making it easy to read/follow was a perk.

also - that portion of code takes about 0s to run so I'm sorta more in
favor of clarity over smallness of code.


-sv


--=-7vIe1NlpROn+BIUd6BGq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9yEI+1Aj3x2mIbMcRAvS3AJ9znQe72e4MnofTDNegJt2Dtfoo2wCgpAHu
nkuSju+IyC9AKpUVdu8PrtE=
=k2SN
-----END PGP SIGNATURE-----

--=-7vIe1NlpROn+BIUd6BGq--



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux