Changeset 4876 for trunk/src

Show
Ignore:
Timestamp:
12/26/05 19:38:05 (3 years ago)
Author:
nk
Message:

almost impossible to fail

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/xmpp/transports.py

    r4861 r4876  
    4646            if hasattr(ex, 'errno'): 
    4747                errnum = ex.errno 
    48             elif hasattr(ex, 'args') and len(ex.args) > 0: 
     48            elif hasattr(ex, 'args') and ex.args is not None and len(ex.args) > 0: 
    4949                errnum = ex.args[0] 
    5050            else: