From 929ba399b58302b7ebc85e246d5c61b9e68375e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Mon, 25 Oct 2010 15:18:04 +0200 Subject: [PATCH] remove old compatibility code since we don't support <2.6 anymore anyways --- autojump | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/autojump b/autojump index ef9afce..ec9b7dd 100755 --- a/autojump +++ b/autojump @@ -75,16 +75,6 @@ def clean_dict(sorted_dirs,path_dict): return True else: return False -# catch all unavailable (python < 2.5) -try: - all -except: - def all(iterable): - for element in iterable: - if not element: - return False - return True - def match(path,pattern,ignore_case=False,only_end=False): try: if os.path.realpath(os.curdir)==path : return False