diff --git a/src/advanced.py b/src/advanced.py index d5ed451d0f25b0ed2b2edd329624cb7dc706a8c6..c56ee27ad61ce0082dcbba82329090194b165c10 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):