• Julien Muchembled's avatar
    admin: fix possible crash when connecting to upstream admin · d4603189
    Julien Muchembled authored
    This fixes:
    
      Traceback (most recent call last):
        File "neo/scripts/neoadmin.py", line 31, in main
          app.run()
        File "neo/admin/app.py", line 179, in run
          self._run()
        File "neo/admin/app.py", line 199, in _run
          self.em.poll(1)
        File "neo/lib/event.py", line 155, in poll
          self._poll(blocking)
        File "neo/lib/event.py", line 220, in _poll
          if conn.readable():
        File "neo/lib/connection.py", line 487, in readable
          self._closure()
        File "neo/lib/connection.py", line 545, in _closure
          self.close()
        File "neo/lib/connection.py", line 534, in close
          handler.connectionFailed(self)
        File "neo/admin/handler.py", line 210, in connectionClosed
          app.connectToUpstreamAdmin()
        File "neo/admin/app.py", line 230, in connectToUpstreamAdmin
          None, None, self.name, None, {}))
        File "neo/lib/connection.py", line 574, in ask
          raise ConnectionClosed
      neo.lib.connection.ConnectionClosed
    d4603189
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
BUGS.rst Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
TODO Loading commit data...
UPGRADE.rst Loading commit data...
ZODB3.patch Loading commit data...
importer.conf Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neolog Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...