Permalink
Browse files

Removed reverse permutation

  • Loading branch information...
1 parent 9a22234 commit e397695d3b184c4699397234a1fdda11f8bdd675 @swvist swvist committed Oct 10, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 userdb.py
View
@@ -56,11 +56,6 @@ def userPermutation(num):
u = query.filter('user = ', users.get_current_user()).get()
return u.questionSet[num-1]
-def userReversePermutation(num):
- query = userPlay.all()
- u = query.filter('user = ', users.get_current_user()).get()
- return u.questionSet.index(num)
-
class userAnswer(db.Model):
user = user = db.UserProperty(required=True)
question = db.IntegerProperty(required=True)

0 comments on commit e397695

Please sign in to comment.