scriptutil module sheds python2.5 dependency

The scriptutil.py module was refactored and does not require python2.5 any more. It will work perfectly fine with an earlier python release (e.g. 2.4) as well.

The scriptutil.freplace() function was previously using the functools module to curry the regex subn function. The new version is achieving the same effect without using functools.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s