eric7/Network/IRC/IrcNetworkManager.py

branch
eric7
changeset 8761
f05818ae6431
parent 8637
394377638256
child 8881
54e42bc2437a
equal deleted inserted replaced
8760:8f3ee84ae342 8761:f05818ae6431
608 """ 608 """
609 Public method to get the list of channels. 609 Public method to get the list of channels.
610 610
611 @return list of channel names (list of string) 611 @return list of channel names (list of string)
612 """ 612 """
613 return list(sorted(self.__channels.keys())) 613 return sorted(self.__channels.keys())
614 614
615 def getChannel(self, channelName): 615 def getChannel(self, channelName):
616 """ 616 """
617 Public method to get a channel. 617 Public method to get a channel.
618 618
1012 @return list of network names (list of string) 1012 @return list of network names (list of string)
1013 """ 1013 """
1014 if not self.__loaded: 1014 if not self.__loaded:
1015 self.__load() 1015 self.__load()
1016 1016
1017 return list(sorted(self.__networks.keys())) 1017 return sorted(self.__networks.keys())

eric ide

mercurial