Exemple #1
0
 def gid2name(self, gid):
     """
     """
     try:
         return Group().getgrgid(gid)["gr_name"]
     except:
         return str(gid)
Exemple #2
0
 def gid2name(self, gid):
     """
     """
     try:
         return Group(self.protocol.cfg).getgrgid(gid)["gr_name"]
     except:
         return str(gid)
Exemple #3
0
 def gid2name(self, gid):
     try:
         return Group().getgrgid(gid)["gr_name"]
     except Exception:
         return str(gid)