|
[Webware-checkins] CVS: Webware/WebKit/Admin AdminPage.py,1.9,1.10 DumpCSV.py,1.4,1.5 Errors.py,1.1,1.2 ServletCache.py,1.1,1.2
From: Ian Bicking <ianbicking@us...> - 2002-06-20 17:48
|
Update of /cvsroot/webware/Webware/WebKit/Admin In directory usw-pr-cvs1:/tmp/cvs-serv18045/WebKit/Admin Modified Files: AdminPage.py DumpCSV.py Errors.py ServletCache.py Log Message: Changed doc strings to use ''' instead of """ Index: AdminPage.py =================================================================== RCS file: /cvsroot/webware/Webware/WebKit/Admin/AdminPage.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AdminPage.py 17 Apr 2001 12:11:55 -0000 1.9 --- AdminPage.py 20 Jun 2002 17:48:13 -0000 1.10 *************** *** 4,8 **** class AdminPage(SidebarPage): ! ''' AdminPage is the abstract superclass of all WebKit administration pages. --- 4,8 ---- class AdminPage(SidebarPage): ! """ AdminPage is the abstract superclass of all WebKit administration pages. *************** *** 10,14 **** Subclasses typically override title() and writeContent(), but may customize other methods. ! ''' def cornerTitle(self): --- 10,14 ---- Subclasses typically override title() and writeContent(), but may customize other methods. ! """ def cornerTitle(self): *************** *** 33,37 **** def fileSize(self, filename): ! ''' Utility method for writeMenu() to get the size of a configuration file. Returns an HTML string. ''' filename = self.application().setting(filename) if os.path.exists(filename): --- 33,37 ---- def fileSize(self, filename): ! """ Utility method for writeMenu() to get the size of a configuration file. Returns an HTML string. """ filename = self.application().setting(filename) if os.path.exists(filename): Index: DumpCSV.py =================================================================== RCS file: /cvsroot/webware/Webware/WebKit/Admin/DumpCSV.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DumpCSV.py 16 Mar 2001 00:15:16 -0000 1.4 --- DumpCSV.py 20 Jun 2002 17:48:13 -0000 1.5 *************** *** 7,11 **** def filename(self): ! ''' Overidden by subclasses to specify what filename to show. ''' return None --- 7,11 ---- def filename(self): ! """ Overidden by subclasses to specify what filename to show. """ return None *************** *** 58,61 **** def cellContents(self, rowIndex, colIndex, value): ! ''' This is a hook for subclasses to customize the contents of a cell based on any criteria (including location). ''' return value --- 58,61 ---- def cellContents(self, rowIndex, colIndex, value): ! """ This is a hook for subclasses to customize the contents of a cell based on any criteria (including location). """ return value Index: Errors.py =================================================================== RCS file: /cvsroot/webware/Webware/WebKit/Admin/Errors.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Errors.py 26 Jun 2000 18:08:48 -0000 1.1 --- Errors.py 20 Jun 2002 17:48:13 -0000 1.2 *************** *** 7,11 **** def cellContents(self, rowIndex, colIndex, value): ! ''' This is a hook for subclasses to customize the contents of a cell based on any criteria (including location). ''' if self._headings[colIndex]=='error report filename': return '<a href="%s">%s</a>' % (value, value) --- 7,11 ---- def cellContents(self, rowIndex, colIndex, value): ! """ This is a hook for subclasses to customize the contents of a cell based on any criteria (including location). """ if self._headings[colIndex]=='error report filename': return '<a href="%s">%s</a>' % (value, value) Index: ServletCache.py =================================================================== RCS file: /cvsroot/webware/Webware/WebKit/Admin/ServletCache.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServletCache.py 17 Apr 2001 12:11:55 -0000 1.1 --- ServletCache.py 20 Jun 2002 17:48:14 -0000 1.2 *************** *** 6,10 **** class ServletCache(AdminSecurity): ! ''' This servlet displays, in a readable form, the internal data structure of the application known as the "servlet cache by path". --- 6,10 ---- class ServletCache(AdminSecurity): ! """ This servlet displays, in a readable form, the internal data structure of the application known as the "servlet cache by path". *************** *** 12,16 **** This can be useful for debugging WebKit problems and the information is interesting in general. ! ''' def title(self): --- 12,16 ---- This can be useful for debugging WebKit problems and the information is interesting in general. ! """ def title(self): *************** *** 23,27 **** def sortSplitFilenames(a, b): ! ''' This is a utility function for list.sort() that handles list elements that come from os.path.split. We sort first by base filename and then by directory, case insensitive. ''' result = cmp(string.lower(a['base']), string.lower(b['base'])) if result==0: --- 23,27 ---- def sortSplitFilenames(a, b): ! """ This is a utility function for list.sort() that handles list elements that come from os.path.split. We sort first by base filename and then by directory, case insensitive. """ result = cmp(string.lower(a['base']), string.lower(b['base'])) if result==0: |
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] CVS: Webware/WebKit/Admin AdminPage.py,1.9,1.10 DumpCSV.py,1.4,1.5 Errors.py,1.1,1.2 ServletCache.py,1.1,1.2 | Ian Bicking <ianbicking@us...> |