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

Prevents syncing errors #4890

Merged
merged 3 commits into from
Jun 5, 2019
Merged

Prevents syncing errors #4890

merged 3 commits into from
Jun 5, 2019

Conversation

chiatt
Copy link
Member

@chiatt chiatt commented Jun 5, 2019

Resolves date formatting and file size issues preventing arches from syncing properly with collector. re #4884

expired = (datetime.strptime(str(self.enddate), '%Y-%m-%d') - datetime.now() + timedelta(hours=24)).days < 0
expired = False
try:
expired = (datetime.strptime(str(self.enddate), '%Y-%m-%d') - datetime.now() + timedelta(hours=24)).days < 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (120 > 119 characters)

@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling 38b8a94 on patches_from_44x_to_master into ca52495 on master.

@chiatt chiatt merged commit 886b7f3 into master Jun 5, 2019
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