mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 03:27:33 +08:00
[python supervision] Remove deprecated function. (#2662)
* Remove deprecated function. * remove unused module.
This commit is contained in:
@@ -29,7 +29,6 @@ import xml.etree.ElementTree as Et
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import logging
|
import logging
|
||||||
import time
|
|
||||||
|
|
||||||
from typing import List, Dict
|
from typing import List, Dict
|
||||||
import shutil
|
import shutil
|
||||||
@@ -809,16 +808,13 @@ class Data(object):
|
|||||||
# [Data methods] Init data methods
|
# [Data methods] Init data methods
|
||||||
|
|
||||||
def init_data(self):
|
def init_data(self):
|
||||||
init = time.clock()
|
|
||||||
|
|
||||||
self.load_cache()
|
self.load_cache()
|
||||||
self.load_conf_files()
|
self.load_conf_files()
|
||||||
self.load_sets_and_configs()
|
self.load_sets_and_configs()
|
||||||
self.load_devices()
|
self.load_devices()
|
||||||
self.load_sessions_and_programs()
|
self.load_sessions_and_programs()
|
||||||
|
|
||||||
LOGGER.info("All data loaded in : %s seconds.\n",
|
LOGGER.info("All data loaded.\n")
|
||||||
time.clock() - init)
|
|
||||||
|
|
||||||
def load_cache(self):
|
def load_cache(self):
|
||||||
LOGGER.info("Loading cache...")
|
LOGGER.info("Loading cache...")
|
||||||
|
|||||||
Reference in New Issue
Block a user