some duplicate code in grokui.admin

Bug #539940 reported by gon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grok
Fix Released
Undecided
Uli Fouquet

Bug Description

there are some duplicate lines in the view.py file

--- original-view.py 2010-03-16 23:52:57.000000000 +0100
+++ view.py 2010-03-16 23:53:36.000000000 +0100
@@ -79,9 +79,6 @@
         if name is None or name == "":
             self.redirect(self.url(self.context))
             return
- if name is None or name == "":
- self.redirect(self.url(self.context))
- return
         app = zope.component.getUtility(grok.interfaces.IApplication,
                                         name=application)
         try:

Revision history for this message
Uli Fouquet (uli-gnufix) wrote :

Yes, there is also still some code not needed anymore.

These are leavings from the last major rewrite. They hopefully will be gone soon.

Changed in grok:
assignee: nobody → Uli Fouquet (uli-gnufix)
status: New → Confirmed
Uli Fouquet (uli-gnufix)
Changed in grok:
status: Confirmed → Fix Committed
Changed in grok:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.