Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/e/0/E-learning-HEAD/BuddyList.py   E-learning(Download)
			if self.connection:
				group = self.connection.getGroups(jid)[0]
				self.addGroup(group)
				if jid not in self.buddies.keys():
					show = self.connection.getShow(jid)
	def newBuddy(self, jid, group, show = None):
		self.addGroup(group)
		if jid not in self.buddies.keys():
			if not show:
				show = self.connection.getShow(jid)
			return
 
		self.addGroup(MUC_GROUP_TITLE)
 
		# muc from settings to list		
	def newMUCItem(self, jid):
		if not self.MUCExists(jid):
			self.addGroup(MUC_GROUP_TITLE)
			# make elements unicode
			for n in range(len(jid)):

src/e/0/E-learning-HEAD/ChatMembers.py   E-learning(Download)
			if self.connection:
				group = self.connection.getGroups(jid)[0]
				self.addGroup(group)
				if jid not in self.buddies.keys():
					show = self.connection.getShow(jid)
			if self.connection:
				group = self.connection.getGroups(jid)[0]
				self.addGroup(group)
				if jid not in self.buddies.keys():
					show = self.connection.getShow(jid)