Skip to content

Commit

Permalink
drop unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Dec 18, 2015
1 parent dac3585 commit 6bb55ff
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions formasaurus/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,16 +298,6 @@ def check(self):

return errors

def get_fingerprints(self, verbose=True, leave=False):
""" Return a dict with all fingerprints of the existing forms """
schema = self.get_form_schema()
annotations = self.iter_annotations(verbose=verbose, leave=leave)
return {
self.get_fingerprint(ann.form): ann.type
for ann in annotations
if ann.type != schema.na_value
}

def get_fingerprint(self, form):
"""
Return form fingerprint (a string that can be used for deduplication).
Expand Down

0 comments on commit 6bb55ff

Please sign in to comment.