Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when tracking mtime of 0 files #71

Merged
merged 1 commit into from
Feb 12, 2015
Merged

Conversation

kmosher
Copy link
Contributor

@kmosher kmosher commented Feb 12, 2015

Hit an issue today where a non-existent config file was causing;

...
return max(os.path.getmtime(name) for name in self.filenames)
ValueError: max() arg is an empty sequence

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.88% when pulling 6237465 on kmosher:master into 3994e3b on dnephin:master.

@dnephin
Copy link
Owner

dnephin commented Feb 12, 2015

Nice, thanks!

I've fixed the flake8 test failure on master

dnephin added a commit that referenced this pull request Feb 12, 2015
Fix crash when tracking mtime of 0 files
@dnephin dnephin merged commit f94a077 into dnephin:master Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants