Skip to content
Snippets Groups Projects
Commit d0f1b0e7 authored by steve-e's avatar steve-e
Browse files

Depend on Python 2.5. Remove workaround for older versions.

parent c4365f7a
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment