Пример #1
0
 def _shortid(self):
     if '.' in self.id:
         return shortuuid(self.id) + '..' + self.id[-2:]
     return shortuuid(self.id)
Пример #2
0
 def repr_controller_id(self, c):
     return shortuuid(c) + c[-2:]
Пример #3
0
 def repr_controller_id(self, c):
     return shortuuid(c) + c[-2:]
Пример #4
0
 def set_process_title(self, info):
     set_process_title('%s#%s' % (self.name, shortuuid(self.branch.id)),
                       '%s (-D %s)' % (info, self.instance_dir))
Пример #5
0
 def set_process_title(self, info):
     set_process_title('%s#%s' % (self.name, shortuuid(self.branch.id)),
                       '%s (-D %s)' % (info, self.instance_dir))