Permalink
Browse files

use just set()

  • Loading branch information...
1 parent 596c2f7 commit 05f1a824df32c2b0b1c4ac1ed1dc9490faa753da @Stiivi committed Apr 10, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −2 brewery/dq/base.py
  2. +2 −2 brewery/dq/field_statistics.py
View
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import sets
class ProbeSet(object):
"""Set of probes"""
@@ -31,7 +30,7 @@ class FieldTypeProbe(object):
def __init__(self, field):
self.field = field
- self.storage_types = sets.Set()
+ self.storage_types = set()
self.null_count = 0
self.empty_string_count = 0
@@ -47,9 +47,9 @@ def __init__(self, key = None, distinct_threshold = 10):
self.record_count = 0
self.value_ratio = 0
- self.distinct_values = sets.Set()
+ self.distinct_values = set()
self.distinct_overflow = False
- self.storage_types = sets.Set()
+ self.storage_types = set()
self.null_count = 0
self.null_value_ratio = 0

0 comments on commit 05f1a82

Please sign in to comment.