Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
autojump
espelhamento de
https://github.com/wting/autojump.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
53
Wiki
Atividade
Ver código fonte
normalize path ending before adding to the DB
pull/193/head
Sven Taute
11 anos atrás
pai
54aeff1cae
commit
4685d86a17
1 arquivos alterados
com
1 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
bin/autojump
+ 1
- 0
bin/autojump
Ver arquivo
@ -89,6 +89,7 @@ class Database:
"""
Increase weight of existing paths or initialize new ones to 10.
"""
path = path.rstrip(os.sep)
if path not in self.data:
self.data[path] = increment
else:
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar