Commit eff79833 authored by Łukasz Nowak's avatar Łukasz Nowak

- provide local implementetion of any in case if not available


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40538 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e56347f
...@@ -30,6 +30,16 @@ import os ...@@ -30,6 +30,16 @@ import os
import subprocess import subprocess
import unittest import unittest
try:
any([True])
except NameError:
# there is no any in python2.4
def any(l):
for q in l:
if q:
return True
return False
# List of libraries which are acceptable to be linked in globally # List of libraries which are acceptable to be linked in globally
ACCEPTABLE_GLOBAL_LIB_LIST = ( ACCEPTABLE_GLOBAL_LIB_LIST = (
# 32 bit Linux # 32 bit Linux
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment