Skip to content

Commit

Permalink
make imports from this package relative
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Jul 19, 2016
1 parent b17d368 commit 245428c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions python/lsst/daf/persistence/butler.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@

import lsst.pex.logging as pexLog
import lsst.pex.policy as pexPolicy
from lsst.daf.persistence import StorageList, LogicalLocation, ReadProxy, ButlerSubset, ButlerDataRef, \
Persistence, Repository, Access, Storage, Policy, NoResults, MultipleResults, Repository, DataId, \
RepositoryCfg, RepositoryArgs, listify, setify
from . import StorageList, LogicalLocation, ReadProxy, ButlerSubset, ButlerDataRef, Persistence, Repository, \
Access, Storage, Policy, NoResults, MultipleResults, Repository, DataId, RepositoryCfg, \
RepositoryArgs, listify, setify


class ButlerCfg(Policy, yaml.YAMLObject):
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/daf/persistence/butlerSubset.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from __future__ import with_statement

from lsst.daf.persistence import DataId
from . import DataId

class ButlerSubset(object):

Expand Down
2 changes: 1 addition & 1 deletion python/lsst/daf/persistence/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import yaml

from lsst.daf.persistence import Policy
from . import Policy

"""This module defines the Mapper base class."""

Expand Down
3 changes: 1 addition & 2 deletions python/lsst/daf/persistence/posixStorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@

import yaml

from lsst.daf.persistence import LogicalLocation, Persistence, Policy, StorageList, Registry, Storage, \
RepositoryCfg, safeFileIo
from . import LogicalLocation, Persistence, Policy, StorageList, Registry, Storage, RepositoryCfg, safeFileIo
import lsst.pex.logging as pexLog
import lsst.pex.policy as pexPolicy
from .safeFileIo import SafeFilename
Expand Down

0 comments on commit 245428c

Please sign in to comment.