From d0f1b0e746c9ba67214bbbf2ec9a87f207f3eb20 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sat, 17 Oct 2009 20:21:32 +0200 Subject: [PATCH] Depend on Python 2.5. Remove workaround for older versions. --- src/advanced.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/advanced.py b/src/advanced.py index d5ed451d0..c56ee27ad 100644 --- a/src/advanced.py +++ b/src/advanced.py @@ -69,14 +69,6 @@ def tree_model_pre_order(model, treeiter): for it in tree_model_pre_order(model, childiter): 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): def __init__(self):