Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f8a2bf

Browse files
committed
Only check the age of FETCH_HEAD if it exists
1 parent2a2a5f2 commit8f8a2bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎fabfile.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ def _known_hosts_outdated(local_filename, remote_filename):
199199
returnlocal_checksum!=remote_checksum
200200

201201
def_check_repo_age():
202+
ifnotos.path.exists(REPO_OUTDATED_FILE):
203+
return
202204
iftime.time()-os.path.getmtime(REPO_OUTDATED_FILE)>REPO_OUTDATED_TIME:
203205
warn('Your fabric-scripts may be out-of-date. Please `git pull` the repo')
204206

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp