示例#1
0
    def clearAllCaches (self):

        # Clear the cachers *only* for all open windows.
        # This is much safer than tryting to Kill all db's.
        for frame in g.windows():
            c = frame.c
            if c.cacher:
                c.cacher.clearCache()
示例#2
0
 def clearAllCaches(self):
     '''
     Clear the Cachers *only* for all open windows. This is much safer than
     killing all db's.
     '''
     for frame in g.windows():
         c = frame.c
         if c.cacher:
             c.cacher.clearCache()
     g.es('done', color='blue')
示例#3
0
 def clearAllCaches(self):
     '''
     Clear the Cachers *only* for all open windows. This is much safer than
     killing all db's.
     '''
     for frame in g.windows():
         c = frame.c
         if c.cacher:
             c.cacher.clearCache()
     g.es('done', color='blue')