Show
Ignore:
Timestamp:
09/06/07 13:38:44 (15 months ago)
Author:
asterix
Message:

fix indentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/common/connection_handlers.py

    r8726 r8740  
    2525 
    2626from time import (altzone, daylight, gmtime, localtime, mktime, strftime, 
    27                   time as time_time, timezone, tzname) 
     27        time as time_time, timezone, tzname) 
    2828from calendar import timegm 
    2929 
     
    329329                query = iq.setTag('query') 
    330330                query.setNamespace(common.xmpp.NS_BYTESTREAM) 
    331                 query.setAttr('sid',  proxy['sid']) 
     331                query.setAttr('sid', proxy['sid']) 
    332332                activate = query.setTag('activate') 
    333333                activate.setData(file_props['proxy_receiver']) 
     
    420420                 
    421421                try: 
    422                         streamhost =  query.getTag('streamhost-used') 
     422                        streamhost = query.getTag('streamhost-used') 
    423423                except: # this bytestream result is not what we need 
    424424                        pass 
     
    685685                gajim.log.debug('DiscoverItemsGetCB') 
    686686                node = iq_obj.getTagAttr('query', 'node') 
    687                 if node is None: 
     687                if node is None: 
    688688                        result = iq_obj.buildReply('result') 
    689689                        self.connection.send(result) 
     
    12601260                gajim.log.debug('rosterSetCB') 
    12611261                for item in iq_obj.getTag('query').getChildren(): 
    1262                         jid  = helpers.parse_jid(item.getAttr('jid')) 
     1262                        jid = helpers.parse_jid(item.getAttr('jid')) 
    12631263                        name = item.getAttr('name') 
    1264                         sub  = item.getAttr('subscription') 
    1265                         ask  = item.getAttr('ask') 
     1264                        sub = item.getAttr('subscription') 
     1265                        ask = item.getAttr('ask') 
    12661266                        groups = [] 
    12671267                        for group in item.getTags('group'): 
     
    13461346                iq_obj = iq_obj.buildReply('result') 
    13471347                qp = iq_obj.setTag('time', 
    1348                                    namespace=common.xmpp.NS_TIME_REVISED) 
     1348                        namespace=common.xmpp.NS_TIME_REVISED) 
    13491349                qp.setTagData('utc', strftime('%Y-%m-%dT%TZ', gmtime())) 
    13501350                zone = -(timezone, altzone)[daylight] / 60