Ejemplo n.º 1
0
 def as_string(self):
     if self.file:
         return '{} x {}'.format(
             self.proc,
             Paths.path_end(Paths.without_ext(self.file), level=2)
         )
     return 'process'
Ejemplo n.º 2
0
 def as_string(self):
     if self.file:
         return '{} x {}'.format(
             self.proc, Paths.path_end(Paths.without_ext(self.file),
                                       level=2))
     return 'process'