Beispiel #1
0
 def __repr__(self):
     return '<{} {}: "{}">'.format(
         self.__class__.__name__, self.id,
         truncate_string(self.filename or "(N/A)", 24))
Beispiel #2
0
 def __repr__(self):
     return '<{} {}: "{}">'.format(
         self.__class__.__name__, self.id, truncate_string(self.name, 24)
     )