Veres Lajos 10 rokov pred
rodič
commit
39460f891e

+ 2 - 2
CHANGES.txt

@@ -762,7 +762,7 @@
   "groupname", and "from_state" (the name of the previous state) in
   "groupname", and "from_state" (the name of the previous state) in
   their serializations.
   their serializations.
 
 
-  PROCESS_STATE_EXITED additionaly has "expected" (1 or 0) and "pid"
+  PROCESS_STATE_EXITED additionally has "expected" (1 or 0) and "pid"
   (the process id) in its serialization.
   (the process id) in its serialization.
 
 
   PROCESS_STATE_RUNNING, PROCESS_STATE_STOPPING,
   PROCESS_STATE_RUNNING, PROCESS_STATE_STOPPING,
@@ -1069,7 +1069,7 @@
 - Some child processes may not have been shut down properly at
 - Some child processes may not have been shut down properly at
   supervisor shutdown time.
   supervisor shutdown time.
 
 
-- Move to ZPL-derived (but not ZPL) license availble from
+- Move to ZPL-derived (but not ZPL) license available from
   http://www.repoze.org/LICENSE.txt; it's slightly less restrictive
   http://www.repoze.org/LICENSE.txt; it's slightly less restrictive
   than the ZPL (no servicemark clause).
   than the ZPL (no servicemark clause).
 
 

+ 1 - 1
docs/configuration.rst

@@ -673,7 +673,7 @@ where specified.
 
 
   The number of serial failure attempts that :program:`supervisord`
   The number of serial failure attempts that :program:`supervisord`
   will allow when attempting to start the program before giving up and
   will allow when attempting to start the program before giving up and
-  puting the process into an ``FATAL`` state.  See
+  putting the process into an ``FATAL`` state.  See
   :ref:`process_states` for explanation of the ``FATAL`` state.
   :ref:`process_states` for explanation of the ``FATAL`` state.
 
 
   *Default*: 3
   *Default*: 3

+ 2 - 2
docs/events.rst

@@ -265,7 +265,7 @@ by a carriage return, follwed by the result content.  For example,
 listener will use either ``OK`` or ``FAIL`` as the result content.
 listener will use either ``OK`` or ``FAIL`` as the result content.
 These strings have special meaning to the default result handler.
 These strings have special meaning to the default result handler.
 
 
-If the defaut result handler receives ``OK`` as result content, it
+If the default result handler receives ``OK`` as result content, it
 will assume that the listener processed the event notification
 will assume that the listener processed the event notification
 successfully.  If it receives ``FAIL``, it will assume that the
 successfully.  If it receives ``FAIL``, it will assume that the
 listener has failed to process the event, and the event will be
 listener has failed to process the event, and the event will be
@@ -350,7 +350,7 @@ in" to Supervisor.  As such, event listeners can impact the state of a
 Supervisor subprocess as a result of receiving an event notification.
 Supervisor subprocess as a result of receiving an event notification.
 For example, you may want to generate an event every few minutes
 For example, you may want to generate an event every few minutes
 related to process usage of Supervisor-controlled subprocesses, and if
 related to process usage of Supervisor-controlled subprocesses, and if
-any of those processes exceed some memory threshhold, you would like
+any of those processes exceed some memory threshold, you would like
 to restart it.  You would write a program that caused supervisor to
 to restart it.  You would write a program that caused supervisor to
 generate ``PROCESS_COMMUNICATION`` events every so often with memory
 generate ``PROCESS_COMMUNICATION`` events every so often with memory
 information in them, and an event listener to perform an action based
 information in them, and an event listener to perform an action based

+ 2 - 2
docs/installing.rst

@@ -46,7 +46,7 @@ finally install Supervisor itself.
 .. note::
 .. note::
 
 
    Depending on the permissions of your system's Python, you might
    Depending on the permissions of your system's Python, you might
-   need to be the root user to sucessfully invoke ``python
+   need to be the root user to successfully invoke ``python
    setup.py install``.
    setup.py install``.
 
 
 Installing To A System Without Internet Access
 Installing To A System Without Internet Access
@@ -80,7 +80,7 @@ Finally, run supervisor's ``python setup.py install``.
 
 
    Depending on the permissions of your system's Python, you might
    Depending on the permissions of your system's Python, you might
    need to be the root user to invoke ``python setup.py install``
    need to be the root user to invoke ``python setup.py install``
-   sucessfully for each package.
+   successfully for each package.
 
 
 Installing a Distribution Package
 Installing a Distribution Package
 ---------------------------------
 ---------------------------------

+ 1 - 1
docs/subprocess.rst

@@ -184,7 +184,7 @@ the ``user=`` program config option.  If you need to set environment
 variables for a particular program that might otherwise be set by a
 variables for a particular program that might otherwise be set by a
 shell invocation for a particular user, you must do it explicitly
 shell invocation for a particular user, you must do it explicitly
 within the ``environment=`` program config option.  An
 within the ``environment=`` program config option.  An
-example of setting these enviroment variables is as below.
+example of setting these environment variables is as below.
 
 
 .. code-block:: ini
 .. code-block:: ini
 
 

+ 1 - 1
supervisor/medusa/docs/programming.html

@@ -396,7 +396,7 @@ log: closing channel 4:<http_client connected at 80ef3e8>
       The <code>handle_connect</code> method no longer assumes it can
       The <code>handle_connect</code> method no longer assumes it can
       send its request string successfully.  We move its work over to
       send its request string successfully.  We move its work over to
       <code>handle_write</code>; which trims <code>self.buffer</code>
       <code>handle_write</code>; which trims <code>self.buffer</code>
-      as pieces of it are sent succesfully.
+      as pieces of it are sent successfully.
 
 
     <p>
     <p>
       We also introduce the <code>writable</code> method.  Each time
       We also introduce the <code>writable</code> method.  Each time

+ 2 - 2
supervisor/tests/test_datatypes.py

@@ -315,7 +315,7 @@ class ExistingDirectoryTests(unittest.TestCase):
         self.assertEqual(path, self._callFUT(path))
         self.assertEqual(path, self._callFUT(path))
 
 
     def test_dir_does_not_exist(self):
     def test_dir_does_not_exist(self):
-        path = os.path.join(os.path.dirname(__file__), 'nonexistant')
+        path = os.path.join(os.path.dirname(__file__), 'nonexistent')
         try:
         try:
             self._callFUT(path)
             self._callFUT(path)
             self.fail()
             self.fail()
@@ -356,7 +356,7 @@ class ExistingDirpathTests(unittest.TestCase):
         self.assertEqual(self._callFUT('foo'), 'foo')
         self.assertEqual(self._callFUT('foo'), 'foo')
 
 
     def test_raises_if_dir_does_not_exist(self):
     def test_raises_if_dir_does_not_exist(self):
-        path = os.path.join(os.path.dirname(__file__), 'nonexistant', 'foo')
+        path = os.path.join(os.path.dirname(__file__), 'nonexistent', 'foo')
         try:
         try:
             self._callFUT(path)
             self._callFUT(path)
             self.fail()
             self.fail()

+ 4 - 4
supervisor/tests/test_options.py

@@ -700,12 +700,12 @@ class ServerOptionsTests(unittest.TestCase):
         user=root
         user=root
 
 
         [include]
         [include]
-        files=nonexistant/*
+        files=nonexistent/*
         """)
         """)
         instance.configfile = StringIO(text)
         instance.configfile = StringIO(text)
         instance.realize(args=[])
         instance.realize(args=[])
         self.assertEqual(instance.parse_warnings,
         self.assertEqual(instance.parse_warnings,
-                         ['No file matches via include "./nonexistant/*"'])
+                         ['No file matches via include "./nonexistent/*"'])
 
 
     def test_get_pid(self):
     def test_get_pid(self):
         instance = self._makeOne()
         instance = self._makeOne()
@@ -2320,13 +2320,13 @@ class UnhosedConfigParserTests(unittest.TestCase):
         self.assertEqual(ok_filenames, [f.name])
         self.assertEqual(ok_filenames, [f.name])
 
 
     def test_read_returns_ok_filenames_like_rawconfigparser(self):
     def test_read_returns_ok_filenames_like_rawconfigparser(self):
-        nonexistant = os.path.join(os.path.dirname(__file__), "nonexistant")
+        nonexistent = os.path.join(os.path.dirname(__file__), "nonexistent")
         f = tempfile.NamedTemporaryFile(mode="w+")
         f = tempfile.NamedTemporaryFile(mode="w+")
         parser = self._makeOne()
         parser = self._makeOne()
         try:
         try:
             f.write("[foo]\n")
             f.write("[foo]\n")
             f.flush()
             f.flush()
-            ok_filenames = parser.read([nonexistant, f.name])
+            ok_filenames = parser.read([nonexistent, f.name])
         finally:
         finally:
             f.close()
             f.close()
         self.assertEqual(ok_filenames, [f.name])
         self.assertEqual(ok_filenames, [f.name])

+ 2 - 2
supervisor/tests/test_rpcinterfaces.py

@@ -1248,7 +1248,7 @@ class SupervisorNamespaceXMLRPCInterfaceTests(TestBase):
         supervisord = DummySupervisor()
         supervisord = DummySupervisor()
         interface = self._makeOne(supervisord)
         interface = self._makeOne(supervisord)
         self._assertRPCError(xmlrpc.Faults.BAD_NAME,
         self._assertRPCError(xmlrpc.Faults.BAD_NAME,
-                             interface.getProcessInfo, 'nonexistant')
+                             interface.getProcessInfo, 'nonexistent')
 
 
     def test_getProcessInfo_bad_name_when_no_process(self):
     def test_getProcessInfo_bad_name_when_no_process(self):
         from supervisor import xmlrpc
         from supervisor import xmlrpc
@@ -1849,7 +1849,7 @@ class SupervisorNamespaceXMLRPCInterfaceTests(TestBase):
         from supervisor import xmlrpc
         from supervisor import xmlrpc
         self._assertRPCError(xmlrpc.Faults.BAD_NAME,
         self._assertRPCError(xmlrpc.Faults.BAD_NAME,
                              interface.sendProcessStdin,
                              interface.sendProcessStdin,
-                             'nonexistant', 'chars for stdin')
+                             'nonexistent', 'chars for stdin')
 
 
     def test_sendProcessStdin_raises_bad_name_when_no_process(self):
     def test_sendProcessStdin_raises_bad_name_when_no_process(self):
         options = DummyOptions()
         options = DummyOptions()