2007-07-05

Learn from the Masters

Here's a little gem of a Python line from Phillip Eby (setuptools.package_index):

self.index_url = index_url + "/"[:not index_url.endswith('/')]

Kids! Don't do this at home!

No comments: