Example #1
0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.openedfile:
         self.openedfile.close()
         self.openedfile = None
     self.fileversion = None
Example #2
0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.openfile:
         self.openfile.close()
         self.openfile = None
         self.fileversion = 0
Example #3
0
 def clear(self):
     IP.clear(self)
     self.nb_pages.get_nth_page(1).hide()
     self.csv_header = None
     self.ls_assigned.clear()
     self.ls_griffith.clear()
     # add default griffith fields again
     self.set_griffith_fields()
Example #4
0
 def clear(self):
     IP.clear(self)
     self.nb_pages.get_nth_page(1).hide()
     self.csv_header = None
     self.ls_assigned.clear()
     self.ls_griffith.clear()
     # add default griffith fields again
     self.set_griffith_fields()
Example #5
0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.filedom:
         self.filedom.unlink()
         self.filedom = None
         self.fileversion = None
         self.items = None
         self.itemindex = 0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.filedom:
         self.filedom.unlink()
         self.filedom = None
         self.fileversion = None
         self.items = None
         self.itemindex = 0
Example #7
0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.cursor:
         self.cursor.close()
         self.cursor = None
     if self.connection:
         self.connection.close()
         self.connection = None
     self.fileversion = None
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     if self.cursor:
         self.cursor.close()
         self.cursor = None
     if self.connection:
         self.connection.close()
         self.connection = None
     self.fileversion = None
Example #9
0
 def clear(self):
     """clear plugin state before next source file"""
     IP.clear(self)
     if self.xml:
         self.xml = None
         self.fileversion = None
         self.items = None
         self.itemindex = 0
         if self.poster_file:
             os.unlink(self.poster_file)
             self.poster_file = None
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     self.cursor = None
     self.connection = None
     self.fileversion = None
Example #11
0
 def clear(self):
     """clear plugin before next source file"""
     IP.clear(self)
     self.cursor = None
     self.connection = None
     self.fileversion = None