Show
Ignore:
Timestamp:
05/28/02 11:19:03 (6 years ago)
Author:
sholloway
Message:

Bugfixes
Conversion away from older apply syntax

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBJabber/RBJabber/JID.py

    r143 r164  
    8484def compare(*args, **kw): 
    8585    """Same as cmp_, except returns a python truth value instead of a cmp result.""" 
    86     return 0 == apply(cmp_, args, kw) 
     86    return 0 == cmp_(*args, **kw) 
    8787 
    8888def contains(strJIDa, strJIDb): 
     
    151151  
    152152    def join(Class, *args): 
    153         return Class(apply(join, args)) 
     153        return Class(join(*args)) 
    154154    join = classmethod(join) 
    155155