diff options
Diffstat (limited to 'devbot/state.py')
-rw-r--r-- | devbot/state.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devbot/state.py b/devbot/state.py index 1a6e5b0..f3cce7a 100644 --- a/devbot/state.py +++ b/devbot/state.py @@ -114,4 +114,7 @@ def _compute_mtime_hash(path): mtime = os.lstat(path).st_mtime data = "%s%s %s\n" % (data, mtime, path) + if ".git" in dirs: + dirs.remove(".git") + return hashlib.sha256(data).hexdigest() |