Skip to content

Commit

Permalink
Fix typos and minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Oct 8, 2016
1 parent ac26083 commit 4ceb26f
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion COMKit/__init__.py
Expand Up @@ -12,8 +12,9 @@

__all__ = []

# This function gets called by the app server during initialization

def InstallInWebKit(appServer):
# This function gets called by the app server during initialization
# See if enabling COM was requested
if appServer.setting('EnableCOM', 0):

Expand Down
3 changes: 2 additions & 1 deletion DocSupport/__init__.py
@@ -1 +1,2 @@
#
# DocSupport
# Webware for Python
1 change: 1 addition & 0 deletions KidKit/__init__.py
Expand Up @@ -2,6 +2,7 @@
# Webware for Python
# See Docs/index.html


def InstallInWebKit(appServer):
app = appServer.application()
from WebKit.PlugIn import PlugInError
Expand Down
1 change: 1 addition & 0 deletions MiddleKit/__init__.py
Expand Up @@ -4,5 +4,6 @@

__all__ = ['Core', 'Design', 'Run']


def InstallInWebKit(appServer):
pass
4 changes: 2 additions & 2 deletions MiscUtils/Configurable.py
Expand Up @@ -70,8 +70,8 @@ def setting(self, name, default=NoDefault):
try:
return self.config()[name]
except KeyError:
raise KeyError('%s config keys are: %s'
% (name, self.config().keys()))
raise KeyError('%s not found - config keys are: %s'
% (name, ', '.join(sorted(self.config()))))
else:
return self.config().get(name, default)

Expand Down
1 change: 1 addition & 0 deletions PSP/__init__.py
Expand Up @@ -4,6 +4,7 @@

from PSPServletFactory import PSPServletFactory


def InstallInWebKit(appServer):
app = appServer.application()
app.addServletFactory(PSPServletFactory(app))
1 change: 1 addition & 0 deletions TaskKit/__init__.py
Expand Up @@ -2,5 +2,6 @@
# Webware for Python
# See Docs/index.html


def InstallInWebKit(appserver):
pass
1 change: 1 addition & 0 deletions UserKit/__init__.py
Expand Up @@ -2,5 +2,6 @@
# Webware for Python
# See Docs/index.html


def InstallInWebKit(appServer):
pass
2 changes: 1 addition & 1 deletion WebKit/ASStreamOut.py
Expand Up @@ -113,7 +113,7 @@ def close(self):
self.flush()
self._closed = True
self._committed = True
self._autocommit = True
self._autoCommit = True

def closed(self):
"""Check whether we are closed to new data."""
Expand Down
2 changes: 1 addition & 1 deletion WebKit/AppServer.py
Expand Up @@ -377,7 +377,7 @@ def webwarePath(self):
return self._webwarePath

def webKitPath(self):
"""Return teh WebKit path."""
"""Return the WebKit path."""
return self._webKitPath


Expand Down
1 change: 1 addition & 0 deletions WebUtils/__init__.py
Expand Up @@ -4,5 +4,6 @@

__all__ = ['HTMLForException', 'HTTPStatusCodes', 'HTMLTag', 'Funcs']


def InstallInWebKit(appServer):
pass

0 comments on commit 4ceb26f

Please sign in to comment.