Depend on Python 2.5. Remove workaround for older versions.
This commit is contained in:
parent
c4365f7a97
commit
d0f1b0e746
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue