cdef import from "afs/pterror.h":
enum:
PRNOENT
- PRTOOMANY
cdef class PTEntry:
cdef public afs_int32 flags
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)
members.append(alist.prlist_val[i])
free(alist.prlist_val)
- if over:
- code = PRTOOMANY
pyafs_error(code)
return members
owned.append(alist.prlist_val[i])
free(alist.prlist_val)
- if over:
- code = PRTOOMANY
pyafs_error(code)
return owned