def __init__(self, **kwargs): super(Tag, self).__init__(**kwargs) Master.__init__(self) self.fullscreen = False self.w = pypixel.WIDTH self.h = pypixel.HEIGHT - conf.bar_height self.y_offset = conf.bar_height self.bar_hidden = False
def __init__ (self, url=None, net=None, fileName=None): # Fuse.__init__ (self) Master.__init__ (self, fileName=fileName) self.debug (1, 'v: logging in %s' % fileName) self.inodes= {} self.policy= policies.WeightedUniform () navel= None if url: key= self.getNavelKey (url) navel= self._peers.getNavel (url, key) else: while not navel: navel= self.discover (net) self.gossip (navel)
def __init__(self, **kwargs): super(Column, self).__init__(**kwargs) Master.__init__(self) self.x = None self.w = None