[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - contents.py:1.11
Albertas Agejevas
alga@codeworks.lt
Thu, 13 Mar 2003 13:49:31 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zope/app/browser/container
Modified Files:
contents.py
Log Message:
An unexpected raid by the Whitespace Police.
Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
=== Zope3/src/zope/app/browser/container/contents.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/browser/container/contents.py:1.10 Mon Feb 17 10:10:39 2003
+++ Zope3/src/zope/app/browser/container/contents.py Thu Mar 13 13:49:00 2003
@@ -54,7 +54,7 @@
title = dc.title
if title:
info['title'] = title
-
+
created = dc.created
if created is not None:
info['created'] = formatTime(created)
@@ -88,7 +88,7 @@
"""Copy objects specified in a list of object ids"""
physical = getAdapter(self.context, IPhysicallyLocatable)
container_path = physical.getPhysicalPath()
-
+
user = self.request.user
annotationsvc = getService(self.context, 'PrincipalAnnotation')
annotations = annotationsvc.getAnnotation(user)
@@ -105,7 +105,7 @@
"""move objects specified in a list of object ids"""
physical = getAdapter(self.context, IPhysicallyLocatable)
container_path = physical.getPhysicalPath()
-
+
user = self.request.user
annotationsvc = getService(self.context, 'PrincipalAnnotation')
annotations = annotationsvc.getAnnotation(user)
@@ -115,11 +115,11 @@
for id in ids:
items.append('%s/%s' % ('/'.join(container_path), id))
clipboard.addItems('cut', items)
-
+
self.request.response.redirect('@@contents.html')
def pasteObjects(self):
- """Iterate over clipboard contents and perform the
+ """Iterate over clipboard contents and perform the
move/copy operations"""
container = self.context
target = container
@@ -145,8 +145,8 @@
self.request.response.redirect('@@contents.html')
def hasClipboardContents(self):
- """ interogates the PrinicipalAnnotation to see if
- clipboard contents exist """
+ """ interogates the PrinicipalAnnotation to see if
+ clipboard contents exist """
user = self.request.user
@@ -159,7 +159,7 @@
return False
-
+
def listContentInfo(self):
return map(self._extractContentInfo,
getAdapter(self.context, IZopeContainer).items())
@@ -184,7 +184,7 @@
def index(self):
return self._index()
-
+
# XXX L10N Below is prime material for localization.