[Zope3-checkins] CVS: Products3/NewsSite/NewsItem - browser.py:1.5
Tres Seaver
tseaver@zope.com
Thu, 27 Mar 2003 06:13:20 -0500
Update of /cvs-repository/Products3/NewsSite/NewsItem
In directory cvs.zope.org:/tmp/cvs-serv25984/NewsItem
Modified Files:
browser.py
Log Message:
- De-tabify.
=== Products3/NewsSite/NewsItem/browser.py 1.4 => 1.5 ===
--- Products3/NewsSite/NewsItem/browser.py:1.4 Wed Mar 26 13:41:54 2003
+++ Products3/NewsSite/NewsItem/browser.py Thu Mar 27 06:13:19 2003
@@ -34,11 +34,11 @@
def getCreator(self):
user = getAdapter(self.context, ICMFDublinCore).Creator()
- service = getService(self.context, servicenames.Authentication)
- try:
- user = service.getPrincipal(user)
- member = getAdapter(user, IMember).realname
- except NotFoundError:
- member = u'Unknown'
+ service = getService(self.context, servicenames.Authentication)
+ try:
+ user = service.getPrincipal(user)
+ member = getAdapter(user, IMember).realname
+ except NotFoundError:
+ member = u'Unknown'
- return member
\ No newline at end of file
+ return member