remove big time consuming and unused function pformat. see #7125
This commit is contained in:
parent
4bcd09f8c0
commit
19fa55c957
|
@ -25,8 +25,6 @@ Network Events Controller.
|
|||
:license: GPL
|
||||
'''
|
||||
|
||||
from pprint import pformat
|
||||
|
||||
#from plugins.helpers import log
|
||||
from common import gajim
|
||||
|
||||
|
@ -158,12 +156,6 @@ class NetworkEvent(object):
|
|||
for k, v in kwargs.iteritems():
|
||||
setattr(self, k, v)
|
||||
|
||||
def __str__(self):
|
||||
return '<NetworkEvent object> Attributes: %s'%(pformat(self.__dict__))
|
||||
|
||||
def __repr__(self):
|
||||
return '<NetworkEvent object> Attributes: %s'%(pformat(self.__dict__))
|
||||
|
||||
|
||||
class NetworkIncomingEvent(NetworkEvent):
|
||||
base_network_events = []
|
||||
|
@ -176,4 +168,4 @@ class NetworkOutgoingEvent(NetworkEvent):
|
|||
base_network_events = []
|
||||
'''
|
||||
Names of base network events that new event is going to be generated on.
|
||||
'''
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue