소스 검색

fix duplicates in case agnostic systems (osx and linux are unnafected)

tags/v0.4
botmtl 7 년 전
부모
커밋
fcb36d4b62
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      gitup/config.py

+ 2
- 2
gitup/config.py 파일 보기

@@ -59,7 +59,7 @@ def add_bookmarks(paths, config_path=None):
config = _load_config_file(config_path)
added, exists = [], []
for path in paths:
path = os.path.abspath(path)
path = os.path.normcase(os.path.abspath(path))
if path in config:
exists.append(path)
else:
@@ -83,7 +83,7 @@ def delete_bookmarks(paths, config_path=None):
deleted, notmarked = [], []
if config:
for path in paths:
path = os.path.abspath(path)
path = os.path.normcase(os.path.abspath(path))
if path in config:
config.remove(path)
deleted.append(path)


불러오는 중...
취소
저장