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

Fix import error and unnecessary backend check in verdi import #1140

Merged
merged 1 commit into from
Feb 19, 2018

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Feb 19, 2018

Fixes #1139

The import functionality for files was still using the backend specific
import functions, import_data_dj and import_data_sqla, while the one for
URL's was using the generalized import_data. However, the latter was not
imported. Hence an import error was raised.

The solution is to import import_data function and update the section
for files to use this one as well and not check the backend itself

The import functionality for files was still using the backend specific
import functions, import_data_dj and import_data_sqla, while the one for
URL's was using the generalized import_data. However, the latter was not
imported. Hence an import error was raised.

The solution is to import import_data function and update the section
for files to use this one as well and not check the backend itself
@sphuber sphuber requested a review from ltalirz February 19, 2018 13:28
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

Fine with me.

@sphuber sphuber merged commit ca5fda2 into aiidateam:release_v0.11.1 Feb 19, 2018
@sphuber sphuber deleted the fix_1139_verdi_import branch February 19, 2018 13:35
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.

2 participants