File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2020 # Using load_source to 'import /usr/local/bin/sonic-cfggen as sonic_cfggen'
2121 # since /usr/local/bin/sonic-cfggen does not have .py extension.
2222 load_source ('sonic_cfggen' , '/usr/local/bin/sonic-cfggen' )
23- from sonic_cfggen import deep_update , FormatConverter , sort_data
23+ from sonic_cfggen import deep_update , FormatConverter
2424
2525except ImportError as e :
2626 raise ImportError ("%s - required module not found" % str (e ))
@@ -213,7 +213,6 @@ def writeConfigDB(self, jDiff):
213213 configdb = ConfigDBConnector (** db_kwargs )
214214 configdb .connect (False )
215215 deep_update (data , FormatConverter .to_deserialized (jDiff ))
216- data = sort_data (data )
217216 self .sysLog (msg = "Write in DB: {}" .format (data ))
218217 configdb .mod_config (FormatConverter .output_to_db (data ))
219218
You can’t perform that action at this time.
0 commit comments