Skip to content

Commit

Permalink
removes unused & commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Mar 16, 2016
1 parent e6b5cff commit a18117e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions python/lsst/daf/persistence/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ class Policy(UserDict.UserDict, yaml.YAMLObject):
- pex policy: read is supported, although this is deprecated and will at some point be removed.
"""

defaultPolicyInitData = collections.namedtuple('defaultPolicyInitData', 'productName filePath repos')
# Contains data for loading a default policy from a package:
# product name: the name of the pacage
# filePath: the name of the policy file
# the file path from the root of the directory to the dir that contains the file.

# def __dict__(self):
# return self.data.__dict__()

def __init__(self, other=None, preference=('data', 'policy', 'pexPolicy', 'filePath', 'defaultInitData'),
**kwargs):
"""Constructor. Accepts an optional vars, one of which will be used to initalize the Policy.
Expand Down

0 comments on commit a18117e

Please sign in to comment.