* typo
* update po
This commit is contained in:
+2
-2
@@ -383,8 +383,8 @@ def remove(A):
|
|||||||
if not ctx.get_option('bypass_safety'):
|
if not ctx.get_option('bypass_safety'):
|
||||||
if ctx.componentdb.has_component('system.base'):
|
if ctx.componentdb.has_component('system.base'):
|
||||||
refused = A.intersection(set(ctx.componentdb.get_component('system.base').packages))
|
refused = A.intersection(set(ctx.componentdb.get_component('system.base').packages))
|
||||||
ctx.ui.warning(_('Safety switch: cannot remove the following packages in system.base: ' +
|
ctx.ui.warning(_('Safety switch: cannot remove the following packages in system.base: ') +
|
||||||
util.strlist(list(refused))))
|
util.strlist(refused))
|
||||||
A = A - set(ctx.componentdb.get_component('system.base').packages)
|
A = A - set(ctx.componentdb.get_component('system.base').packages)
|
||||||
else:
|
else:
|
||||||
ctx.ui.warning(_('Safety switch: the component system.base cannot be found'))
|
ctx.ui.warning(_('Safety switch: the component system.base cannot be found'))
|
||||||
|
|||||||
+246
-183
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user