changeset 203:1188998929bc

Init entries_view before project_view
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:32:53 +0200
parents 3ed024299214
children 921e98f9aa87
files getan/controller.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/controller.py	Fri Apr 05 19:32:20 2013 +0200
+++ b/getan/controller.py	Fri Apr 05 19:32:53 2013 +0200
@@ -34,8 +34,9 @@
         self.projects = projects
         self.running  = []
 
+        self.view = None
+        self.entries_view = ev_class(entries)
         self.project_view = pv_class(self, self.projects)
-        self.entries_view = ev_class(entries)
 
         self.view  = GetanView(self, self.project_view, self.entries_view)
         self.state = PausedProjectsState(self, self.project_view)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)