Ejemplo n.º 1
0
 def __repr__(self):
     attrs = utils.describe_attributes(
         self,
         [
             "exclusive",
             "spawn",
             "layout",
             "layouts",
             "persist",
             "init",
             "matches",
             "layout_opts",
             "screen_affinity",
         ],
     )
     return "<config.Group %r (%s)>" % (self.name, attrs)
Ejemplo n.º 2
0
 def __repr__(self):
     actions = utils.describe_attributes(
         self, ["group", "float", "intrusive", "break_on_match"])
     return "<Rule match=%r actions=(%s)>" % (self.matchlist, actions)
Ejemplo n.º 3
0
 def __repr__(self):
     actions = utils.describe_attributes(
         self, ['group', 'float', 'intrusive', 'break_on_match'])
     return '<Rule match=%r actions=(%s)>' % (self.match, actions)
Ejemplo n.º 4
0
 def __repr__(self):
     attrs = utils.describe_attributes(self, [
         'exclusive', 'spawn', 'layout', 'layouts', 'persist', 'init',
         'matches', 'layout_opts', 'screen_affinity'
     ])
     return '<config.Group %r (%s)>' % (self.name, attrs)