def get(self):
		username=""
		fullname=""
		avatar_url=""
		if self.session.get('username'):
			username_session = self.session.get('username')
			navdata = db.GqlQuery("SELECT * FROM UserData WHERE username= :u",u=username_session).get()
			username = navdata.username
			fullname=navdata.fullname
			avatar_url = navdata.avatar_url
		current_url = self.request.url
		promoted_repo_uid = current_url.split('/')[4]
		verify = db.GqlQuery("SELECT * FROM PromotedRepos WHERE uid= :r",r=promoted_repo_uid).fetch(limit=2)
			

		if len(verify) > 0:
			clicked = self.request.cookies.get(str(promoted_repo_uid))
			repodata = db.GqlQuery("SELECT * FROM PromotedRepos WHERE uid= :r",r=promoted_repo_uid)
			repodata_views = repodata.get()
			genre = repodata_views.genre
			difficulty = repodata_views.is_beginner
			if clicked != 'True':
				self.response.set_cookie(str(promoted_repo_uid),'True',max_age=10800,path='/')
				repodata_views.views_of += 1
				repodata_views.put()
			self.render('repo_info.html',repodata=repodata,genre=genre,difficulty=difficulty,username=username,fullname=fullname,avatar_url=avatar_url)
		else:
			self.response.out.write("Repository/Issue with such name hasn't yet been promoted!")
			return
dataset/ETHPy150Open waseem18/Openflock/handlers/RepoHandler.py/RepoHandler.get/original