Changeset 8072c18 for fedd/federation


Ignore:
Timestamp:
Dec 11, 2008 11:48:18 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
338e9a7
Parents:
0c4e561
Message:

Try to avoid fedd.py blowing chunks on an error under python 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/server.py

    r0c4e561 r8072c18  
    4343        else: self.handle_error = self.handle_error_standard
    4444
    45     def handle_error_debug(self, request, client_address):
     45    def handle_error_debug(self, request=None, client_address=None):
    4646        print '-'*40
    4747        traceback.print_exc()
     
    4949
    5050
    51     def handle_error_standard(self, request, address):
     51    def handle_error_standard(self, request=None, address=None):
    5252        """
    5353        The default SSLServer prints a stack trace here.  This is a little
     
    5656        if request or address:
    5757            self.log.warn("[fedd] Error on incoming connection: %s %s" % \
    58                     (request, address))
     58                    (request or "", address or ""))
    5959        else:
    6060            self.log.warn("[fedd] Error on incoming connection " + \
Note: See TracChangeset for help on using the changeset viewer.