Mercurial > moin > 1.9
changeset 3490:af3460a4cb79
fix some typos in messages / comments
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Mon, 07 Apr 2008 12:26:19 +0200 |
parents | a3177f8745f9 |
children | 9fabe3f8a0d8 |
files | MoinMoin/PageEditor.py MoinMoin/PageGraphicalEditor.py MoinMoin/config/multiconfig.py MoinMoin/logfile/__init__.py MoinMoin/macro/WantedPages.py MoinMoin/packages.py MoinMoin/wikiutil.py |
diffstat | 7 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/PageEditor.py Mon Apr 07 12:26:19 2008 +0200 @@ -279,7 +279,7 @@ # TODO: maybe warn if template argument was ignored because the page exists? raw_body = self.get_raw_body() elif 'template' in form: - # If the page does not exists, we try to get the content from the template parameter. + # If the page does not exist, we try to get the content from the template parameter. template_page = wikiutil.unquoteWikiname(form['template'][0]) if request.user.may.read(template_page): raw_body = Page(request, template_page).get_raw_body()
--- a/MoinMoin/PageGraphicalEditor.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/PageGraphicalEditor.py Mon Apr 07 12:26:19 2008 +0200 @@ -170,7 +170,7 @@ # TODO: maybe warn if template argument was ignored because the page exists? raw_body = self.get_raw_body() elif 'template' in form: - # If the page does not exists, we try to get the content from the template parameter. + # If the page does not exist, we try to get the content from the template parameter. template_page = wikiutil.unquoteWikiname(form['template'][0]) if request.user.may.read(template_page): raw_body = Page(request, template_page).get_raw_body()
--- a/MoinMoin/config/multiconfig.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/config/multiconfig.py Mon Apr 07 12:26:19 2008 +0200 @@ -979,10 +979,10 @@ path_pages = os.path.join(path, "pages") if not (os.path.isdir(path_pages) and os.access(path_pages, mode)): msg = ''' -%(attr)s "%(path)s" does not exists, or has incorrect ownership or +%(attr)s "%(path)s" does not exist, or has incorrect ownership or permissions. -Make sure the directory and the subdirectory pages are owned by the web +Make sure the directory and the subdirectory "pages" are owned by the web server and are readable, writable and executable by the web server user and group.
--- a/MoinMoin/logfile/__init__.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/logfile/__init__.py Mon Apr 07 12:26:19 2008 +0200 @@ -167,7 +167,7 @@ def size(self): """ Return log size in bytes - Return 0 if the file does not exists. Raises other OSError. + Return 0 if the file does not exist. Raises other OSError. @return: size of log file in bytes @rtype: Int @@ -182,7 +182,7 @@ def lines(self): """ Return number of lines in the log file - Return 0 if the file does not exists. Raises other OSError. + Return 0 if the file does not exist. Raises other OSError. Expensive for big log files - O(n)
--- a/MoinMoin/macro/WantedPages.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/macro/WantedPages.py Mon Apr 07 12:26:19 2008 +0200 @@ -42,7 +42,7 @@ if not allpages and wikiutil.isSystemPage(request, name): continue - # Add links to pages which does not exists in pages dict + # Add links to pages which do not exist in pages dict links = page.getPageLinks(request) for link in links: if not link in pages and request.user.may.read(link):
--- a/MoinMoin/packages.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/packages.py Mon Apr 07 12:26:19 2008 +0200 @@ -171,7 +171,7 @@ comment=u'%(filename)s' % {"filename": filename}, author=author) self.msg += u"%(filename)s removed \n" % {"filename": filename} else: - self.msg += u"%(filename)s not exists \n" % {"filename": filename} + self.msg += u"%(filename)s does not exist \n" % {"filename": filename} else: self.msg += u"action delete attachment: not enough rights - nothing done \n"
--- a/MoinMoin/wikiutil.py Mon Apr 07 09:02:03 2008 +0200 +++ b/MoinMoin/wikiutil.py Mon Apr 07 12:26:19 2008 +0200 @@ -1130,7 +1130,7 @@ def importNameFromPlugin(moduleName, name): """ Return name from plugin module - Raise PluginAttributeError if name does not exists. + Raise PluginAttributeError if name does not exist. """ module = __import__(moduleName, globals(), {}, [name]) try: