1 |
diff -Nur smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py |
2 |
--- smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2020-06-22 22:30:34.274000000 -0400 |
3 |
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2020-06-22 22:35:11.635000000 -0400 |
4 |
@@ -177,7 +177,7 @@ |
5 |
#print 'Package: ' + tsmem.name + ' triggers reboot' |
6 |
#smechange = True |
7 |
# we do some exclusions -devel -doc ... |
8 |
- if rebootpkgsexclude[pkg]: |
9 |
+ if pkg in rebootpkgsexclude: |
10 |
#print 'lista' |
11 |
cont=False |
12 |
for name in rebootpkgsexclude[pkg]: |
13 |
@@ -196,7 +196,7 @@ |
14 |
for pkg in restartpkgs: |
15 |
#print pkg |
16 |
if n.startswith(pkg): |
17 |
- if servicenames[pkg]: |
18 |
+ if pkg in servicenames: |
19 |
#print 'lista' |
20 |
for name in servicenames[pkg]: |
21 |
#print name |