def getgist(self, **args):

		if args in 'id':
			self.gist_id = args['id']
		else:
			raise Exception('Gist ID must be provided')

		if self.gist_id:
			r = requests.get(
				'%s/gists/%s'%(BASE_URL,self.gist_id),
				headers=self.gist.header,
				)
			if (r.status_code == 200):
				
				for key,value in r.json()['files'].iteritems():
						content = value['filename']
				return content

		raise Exception('No such gist found')
dataset/ETHPy150Open softvar/simplegist/simplegist/mygist.py/Mygist.getgist/swapped operands of `in`