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

obs_base Tickets/dm 7468 #26

Merged
merged 7 commits into from May 31, 2017
Merged

obs_base Tickets/dm 7468 #26

merged 7 commits into from May 31, 2017

Conversation

n8pease
Copy link
Contributor

@n8pease n8pease commented Mar 20, 2017

No description provided.

Copy link
Contributor

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

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

Looks OK, one question.

@@ -789,10 +792,14 @@ def _setupRegistry(self, name, path, policy, policyKey, storage, searchParents=T
if newPath is not None:
path = newPath
self.log.debug("Loading %s registry from %s", name, path)
registry = dafPersist.Registry.create(storage.getLocalFile(path))
localFileObj = storage.getLocalFile(path)
registry = dafPersist.Registry.create(localFileObj.name)
Copy link
Contributor

Choose a reason for hiding this comment

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

I presume it's OK that localFileObj can go out of scope and delete temporary file associated with it?

@n8pease n8pease force-pushed the tickets/DM-7468 branch 2 times, most recently from c5275d1 to 584a741 Compare March 29, 2017 19:01
@n8pease n8pease merged commit efc7698 into master May 31, 2017
@ktlim ktlim deleted the tickets/DM-7468 branch August 25, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants