update-linux 3.4.0__tar.gz → 3.4.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.
- {update_linux-3.4.0 → update_linux-3.4.2}/PKG-INFO +1 -1
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux/__init__.py +8 -6
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/PKG-INFO +1 -1
- {update_linux-3.4.0 → update_linux-3.4.2}/LICENSE +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/README.md +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/pyproject.toml +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/requirements.txt +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/setup.cfg +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux/__main__.py +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/SOURCES.txt +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/dependency_links.txt +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/entry_points.txt +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/requires.txt +0 -0
- {update_linux-3.4.0 → update_linux-3.4.2}/src/update_linux.egg-info/top_level.txt +0 -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.4.
|
|
12
|
+
VERSION = '3.4.2'
|
|
13
13
|
|
|
14
14
|
default_json_config_template = u'''{
|
|
15
15
|
"group":
|
|
@@ -170,9 +170,6 @@ class UpdateFedora:
|
|
|
170
170
|
|
|
171
171
|
positional_args = []
|
|
172
172
|
|
|
173
|
-
if not self.loadConfig():
|
|
174
|
-
return 1
|
|
175
|
-
|
|
176
173
|
try:
|
|
177
174
|
parseOptions( self, positional_args, args )
|
|
178
175
|
|
|
@@ -180,6 +177,9 @@ class UpdateFedora:
|
|
|
180
177
|
self.error( '', str(e) )
|
|
181
178
|
return 1
|
|
182
179
|
|
|
180
|
+
if not self.loadConfig():
|
|
181
|
+
return 1
|
|
182
|
+
|
|
183
183
|
if self.opt_help:
|
|
184
184
|
print(
|
|
185
185
|
'''Usage: %(appname)s <options> <group>|<host>|--self...
|
|
@@ -223,7 +223,7 @@ class UpdateFedora:
|
|
|
223
223
|
all_to_exclude = []
|
|
224
224
|
if self.opt_exclude:
|
|
225
225
|
for host in self.opt_exclude().split(','):
|
|
226
|
-
all_to_exclude.extend( self.all_groups.get( host, host ) )
|
|
226
|
+
all_to_exclude.extend( self.all_groups.get( host, [host] ) )
|
|
227
227
|
|
|
228
228
|
if self.opt_update_self:
|
|
229
229
|
self.all_hosts = [None]
|
|
@@ -349,7 +349,9 @@ For help:
|
|
|
349
349
|
f.write( json_config )
|
|
350
350
|
|
|
351
351
|
else:
|
|
352
|
-
self.
|
|
352
|
+
if not self.opt_list_hosts:
|
|
353
|
+
self.info( '', 'Using config from %s' % (config_file,) )
|
|
354
|
+
|
|
353
355
|
with open(config_file) as f:
|
|
354
356
|
json_config = f.read()
|
|
355
357
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|