[TASK] Reformat some files.

This commit is contained in:
Jan Philipp Timme 2014-09-19 11:05:14 +02:00
parent bc2ebea8de
commit 0952922757
3 changed files with 24 additions and 22 deletions

View File

@ -138,6 +138,7 @@ class UpdateProjectView(ProtectedFormView, SingleObjectMixin):
""" Test if SQLite is a valid citavi project. """ """ Test if SQLite is a valid citavi project. """
from service import Citavi from service import Citavi
citavi_project = Citavi.Project(temp_sqlite) citavi_project = Citavi.Project(temp_sqlite)
citavi_project.open()
citavi_project_valid = citavi_project.is_valid() citavi_project_valid = citavi_project.is_valid()
""" Free temporary ressources. """ """ Free temporary ressources. """
del citavi_project del citavi_project
@ -164,6 +165,7 @@ class UpdateProjectView(ProtectedFormView, SingleObjectMixin):
""" Refresh identities from citavi project. """ """ Refresh identities from citavi project. """
# TODO # TODO
# citavi_project = Citavi.Project(sqlite_path) # citavi_project = Citavi.Project(sqlite_path)
# citavi_project.open()
# del citavi_project # del citavi_project
return super(UpdateProjectView, self).form_valid(form) return super(UpdateProjectView, self).form_valid(form)