def uid2name(self, uid): """ """ try: return Passwd().getpwuid(uid)["pw_name"] except: return str(uid)
def uid2name(self, uid): """ """ try: return Passwd(self.protocol.cfg).getpwuid(uid)["pw_name"] except: return str(uid)
def uid2name(self, uid): try: return Passwd().getpwuid(uid)["pw_name"] except Exception: return str(uid)