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

rose.config_processors.file: improve table create #1225

Merged

Conversation

matthewrmshin
Copy link
Member

On database file creation, check whether the required tables exist, instead of whether the database
file exists. This should fix #1224.

This change also contains fixes for various problems reported by pylint.

Check whether required tables exist, instead of whether the database
file exists.
Also fixed various problems reported by pylint.
@matthewrmshin matthewrmshin added this to the 2014-04 milestone Apr 23, 2014
@matthewrmshin
Copy link
Member Author

@arjclark please review.

N.B.:

  • The main fix is at LocDAO.create.
  • The new test fails without this fix.

@matthewrmshin
Copy link
Member Author

N.B. The sqlite_master table method is documented by the SQLite FAQ.

@arjclark
Copy link
Contributor

Useful to know about.

@arjclark
Copy link
Contributor

Looks good to me. Tests pass in my environment.

arjclark added a commit that referenced this pull request Apr 23, 2014
…chema

rose.config_processors.file: improve table create
@arjclark arjclark merged commit c958b6d into metomi:master Apr 23, 2014
@matthewrmshin matthewrmshin deleted the fix-file-install-bad-db-schema branch April 23, 2014 11:26
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.

rose.config_processors.file: dep-names: problem in config_parsers?
2 participants