Use a bool instead of an int for the follow argument to
[invirt/packages/python-afs.git] / afs / _pts.pyx
index eb62c08..bef7139 100644 (file)
@@ -217,7 +217,7 @@ cdef class PTS:
         name if it's a string, or otherwise just converting it to an
         integer.
         """
-        if isinstance(ident, (str, unicode)):
+        if isinstance(ident, basestring):
             return self._NameToId(ident)
         else:
             return int(ident)