Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Preparing release 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Jan 20, 2011
1 parent 77e7e03 commit 4bf616e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
grokui.admin changes
********************

0.9 (unreleased)
0.9 (2011-01-20)
================

- Nothing changed yet.
- Use the correct IApplication interface definition.

0.8 (2010-10-27)
================
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

setup(name='grokui.admin',
version='0.9dev',
version='0.9',
description="The Grok administration and development UI",
long_description=(
read(os.path.join('src', 'grokui', 'admin', 'README.txt')) +
Expand Down
3 changes: 1 addition & 2 deletions src/grokui/admin/applications.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import grok
from grokcore.site.interfaces import IApplication
from ZODB.broken import Broken
from grokui.admin import representation
from zope.traversing.browser import absoluteURL
Expand Down Expand Up @@ -71,7 +70,7 @@ class Applications(GrokUIView):

def update(self):
# Available apps...
apps = getAllUtilitiesRegisteredFor(IApplication)
apps = getAllUtilitiesRegisteredFor(grok.IApplication)
self.installable = (InstallableApplication(x) for x in apps)

# Installed apps...
Expand Down
3 changes: 1 addition & 2 deletions src/grokui/admin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import grok
from BTrees.OOBTree import OOBTree
from grok.util import create_application
from grokcore.site.interfaces import IApplication
from grokui.base import IGrokUIRealm
from grokui.admin.interfaces import ISecurityNotifier
from grokui.admin.utilities import getVersion, getURLWithParams
Expand Down Expand Up @@ -70,7 +69,7 @@ def render(self, application, name):
if name is None or name == "":
self.redirect(self.url(self.context, 'applications'))
return
app = getUtility(IApplication, name=application)
app = getUtility(grok.IApplication, name=application)
if name in self.context.root.keys():
self.flash(u'Name `%s` already in use. '
u'Please choose another name.' % (name,))
Expand Down

0 comments on commit 4bf616e

Please sign in to comment.