update-linux 3.5.0__tar.gz → 3.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: update-linux
3
- Version: 3.5.0
3
+ Version: 3.5.2
4
4
  Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
5
5
  Author-email: Barry Scott <barry@barrys-emacs.org>
6
6
  License: Apache-2.0
@@ -9,7 +9,7 @@ import tempfile
9
9
  import json
10
10
  from config_path import ConfigPath # type: ignore
11
11
 
12
- VERSION = '3.5.0'
12
+ VERSION = '3.5.2'
13
13
 
14
14
  default_json_config_template = u'''{
15
15
  "group":
@@ -257,6 +257,8 @@ For help:
257
257
  if host in all_to_exclude:
258
258
  continue
259
259
 
260
+ self.flushDns()
261
+
260
262
  os_plugin_type, os_id, os_version = self.detectOperatingSystem( host )
261
263
  if os_plugin_type is None:
262
264
  if os_id is not None:
@@ -267,7 +269,6 @@ For help:
267
269
 
268
270
  plugin = os_id_to_plugin[ os_plugin_type ]( self )
269
271
 
270
- self.flushDns()
271
272
  if self.opt_check:
272
273
  plugin.check( host,
273
274
  check_log_name=self.logdir / ('check-update-%s-%s.log' % (host or 'localhost', self.ts)) )
@@ -383,7 +384,6 @@ For help:
383
384
  cmd = ['killall', '-HUP', 'mDNSResponder']
384
385
  self.runAndLog( None, cmd, log=False )
385
386
 
386
-
387
387
  def detectOperatingSystem( self, host ):
388
388
  if host is not None:
389
389
  rc = ssh_wait( host, wait=False, log_fn=None )
@@ -444,6 +444,7 @@ For help:
444
444
  for line in stdout:
445
445
  if line.startswith(
446
446
  ('Warning: '
447
+ ,'** ' # assume this means lines that are advisory
447
448
  ,'Offending key for '
448
449
  ,'Matching host key in '
449
450
  ,'The system will now reboot')):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: update-linux
3
- Version: 3.5.0
3
+ Version: 3.5.2
4
4
  Summary: Command to automate the routine updating of packages and system upgrading for Unix systems.
5
5
  Author-email: Barry Scott <barry@barrys-emacs.org>
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes