src/eric7/Network/IRC/IrcNetworkManager.py

branch
eric7
changeset 10373
093dcebe5ecb
parent 9664
4ae1d1e277c2
child 10428
a071d4065202
equal deleted inserted replaced
10372:1444b4bee64b 10373:093dcebe5ecb
613 """ 613 """
614 Public method to get the list of channels. 614 Public method to get the list of channels.
615 615
616 @return list of channel names (list of string) 616 @return list of channel names (list of string)
617 """ 617 """
618 return sorted(self.__channels.keys()) 618 return sorted(self.__channels)
619 619
620 def getChannel(self, channelName): 620 def getChannel(self, channelName):
621 """ 621 """
622 Public method to get a channel. 622 Public method to get a channel.
623 623
897 """ 897 """
898 Public method to get the names of all identities. 898 Public method to get the names of all identities.
899 899
900 @return names of all identities (list of string) 900 @return names of all identities (list of string)
901 """ 901 """
902 return list(self.__identities.keys()) 902 return list(self.__identities)
903 903
904 def addIdentity(self, identity): 904 def addIdentity(self, identity):
905 """ 905 """
906 Public method to add a new identity. 906 Public method to add a new identity.
907 907
1015 @return list of network names (list of string) 1015 @return list of network names (list of string)
1016 """ 1016 """
1017 if not self.__loaded: 1017 if not self.__loaded:
1018 self.__load() 1018 self.__load()
1019 1019
1020 return sorted(self.__networks.keys()) 1020 return sorted(self.__networks)

eric ide

mercurial