Parcourir la source

remove old compatibility code since we don't support <2.6 anymore anyways

pull/28/head
Joël Schaerer il y a 14 ans
Parent
révision
929ba399b5
1 fichiers modifiés avec 0 ajouts et 10 suppressions
  1. +0
    -10
      autojump

+ 0
- 10
autojump Voir le fichier

@ -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

Chargement…
Annuler
Enregistrer