This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via fde90a28ce68be92f54b9ca7be882ddc7eb20361 (commit) from add9b9cbb298ae43aa5b74921d66003326eafb67 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/fde90a28ce68be92f54b9ca7be882ddc7eb20...
commit fde90a28ce68be92f54b9ca7be882ddc7eb20361 Author: Cyril Hrubis metan@ucw.cz Date: Tue Mar 20 15:41:35 2012 +0100
pylib: Final fix for python 3.2 yay!
Change map to list comprehension.
(Baked together with Tomas)
diff --git a/pylib/gfxprim/utils.py b/pylib/gfxprim/utils.py index 4060811..4d4bd05 100644 --- a/pylib/gfxprim/utils.py +++ b/pylib/gfxprim/utils.py @@ -36,8 +36,8 @@ def import_members(from_, to, include=[], exclude=[], sub=None): `include` and `exclude` are lists of regexes to match (include ^ and $).""" assert not (include and exclude) import re - il = map(re.compile, include) - el = map(re.compile, exclude) + il = [re.compile(i) for i in include] + el = [re.compile(i) for i in exclude] for name in dir(from_): try: o = from_[name]
-----------------------------------------------------------------------
Summary of changes: pylib/gfxprim/utils.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.