Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

bug: Clear corrupted router records #403

Merged
merged 1 commit into from
Mar 12, 2016
Merged

bug: Clear corrupted router records #403

merged 1 commit into from
Mar 12, 2016

Conversation

jrconlin
Copy link
Member

Records containing only a UAID are corrupt. Drop these records and
return a 410 to the server.

Closes #400

@bbangert r?

return self.table.get_item(consistent=True, uaid=hasher(uaid))
item = self.table.get_item(consistent=True, uaid=hasher(uaid))
if item.keys() == ['uaid']:
import pdb; pdb.set_trace()
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be in here.

Copy link
Member Author

Choose a reason for hiding this comment

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

crap! must have gotten in the patch thanks!

@bbangert
Copy link
Member

r+ pending drop of pdb

Records containing only a UAID are corrupt. Drop these records and
return a 410 to the server.

Closes #400
jrconlin added a commit that referenced this pull request Mar 12, 2016
bug: Clear corrupted router records
@jrconlin jrconlin merged commit 004fa7c into master Mar 12, 2016
@bbangert bbangert deleted the bug/400 branch March 12, 2016 01:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants