1. Martin von Löwis
  2. openid2rp

Commits

Martin von Löwis  committed 61abade

Drop bytes literal.

  • Participants
  • Parent commits 7bd8c75
  • Branches default

Comments (0)

Files changed (1)

File openid2rp/__init__.py

View file
     return res[3+b2i(res[3]):3:-1]
 
 def unbtwoc(B):
-    return cPickle.loads(b('\x80\x02\x8a')+bytes_from_ints([len(B)])+B[::-1]+(b'.'))
+    return cPickle.loads(b('\x80\x02\x8a')+bytes_from_ints([len(B)])+B[::-1]+b('.'))
 
 # Appendix B; DH default prime
 dh_prime = """