Use isinstance and six.text_type to check types of an object.
authorBerker Peksag <berker.peksag@gmail.com>
Mon, 28 Jul 2014 12:26:13 +0000 (15:26 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Mon, 28 Jul 2014 12:26:13 +0000 (15:26 +0300)
commit20238f54a660047b72a1c25bce14f3bd3e22f03d
treea23a29bfb65aa23e586910ccc8e01dcbabf90111
parent7ec699445364c3e0ca32f905c499e21221be27f9
Use isinstance and six.text_type to check types of an object.
mediagoblin/oauth/views.py