Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-18488: Support pyyaml 5.1 #110

Merged
merged 2 commits into from Mar 21, 2019
Merged

DM-18488: Support pyyaml 5.1 #110

merged 2 commits into from Mar 21, 2019

Conversation

timj
Copy link
Member

@timj timj commented Mar 14, 2019

No description provided.

@timj timj requested a review from ktlim March 14, 2019 23:24
@timj timj force-pushed the tickets/DM-18488-daf_persistence branch 2 times, most recently from e401be6 to eabc803 Compare March 16, 2019 17:31
@@ -193,7 +193,11 @@ class ButlerLocation(yaml.YAMLObject):
"""

yaml_tag = u"!ButlerLocation"
yaml_loader = yaml.Loader
try:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this actually used anywhere? It seems strange that this is a class variable rather than built into from_yaml, and I don't see any caller for the latter or use of the variable.

Copy link
Member Author

@timj timj Mar 21, 2019

Choose a reason for hiding this comment

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

This class inherits from yaml.YamlObject and yaml_loader is the class variable that yaml assumes will define the loader.

python/lsst/daf/persistence/repositoryCfg.py Outdated Show resolved Hide resolved
@timj timj force-pushed the tickets/DM-18488-daf_persistence branch from eabc803 to d838d25 Compare March 21, 2019 21:20
@timj timj merged commit fc6fb1f into master Mar 21, 2019
@timj timj deleted the tickets/DM-18488-daf_persistence branch March 21, 2019 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants