Depend on Python 2.5. Remove workaround for older versions.

This commit is contained in:
Stephan Erb 2009-10-17 20:21:32 +02:00
parent c4365f7a97
commit d0f1b0e746
1 changed files with 0 additions and 8 deletions

View File

@ -69,14 +69,6 @@ def tree_model_pre_order(model, treeiter):
for it in tree_model_pre_order(model, childiter): for it in tree_model_pre_order(model, childiter):
yield it yield it
try:
any(()) # builtin since python 2.5
except Exception:
def any(iterable):
for element in iterable:
if element:
return True
return False
class AdvancedConfigurationWindow(object): class AdvancedConfigurationWindow(object):
def __init__(self): def __init__(self):