[Fedora-livecd-list] [PATCH] Use string methods instead of the string module

Mark McLoughlin markmc at redhat.com
Mon Dec 17 17:44:49 UTC 2007


On Sun, 2007-12-16 at 23:58 +0800, Tan Swee Heng wrote:

> -                            (string.join(args, " "), ret))
> +                            (" ".join(args), ret))

	Agree with Jeremy - I'm not a fan of this construct; it's just a wee
bit too clever and obtuse for my liking.

> -            l = string.split(hostname, ".")
> +            l = hostname.split(".")

	I do prefer this construct, though.

Cheers,
Mark.




More information about the Fedora-livecd-list mailing list