Changes to 'refs/tags/spacewalk-selinux-0.8.1-1'
by Michael Mraka
Tag 'spacewalk-selinux-0.8.1-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2010-01-15 14:04 +0000
Tagging package [spacewalk-selinux] version [0.8.1-1] in directory [selinux/spacewalk-selinux/].
Changes since yum-rhn-plugin-0.8.3-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-selinux] release [0.8.1-1].
---
rel-eng/packages/spacewalk-selinux | 2 +-
selinux/spacewalk-selinux/spacewalk-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
14 years, 4 months
rel-eng/packages selinux/spacewalk-selinux
by Michael Mraka
rel-eng/packages/spacewalk-selinux | 2 +-
selinux/spacewalk-selinux/spacewalk-selinux.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 7bbbc7e094dd1073b776e9e6a626fd035b0d8e81
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 15:04:09 2010 +0100
Automatic commit of package [spacewalk-selinux] release [0.8.1-1].
diff --git a/rel-eng/packages/spacewalk-selinux b/rel-eng/packages/spacewalk-selinux
index 322ef83..9123f6d 100644
--- a/rel-eng/packages/spacewalk-selinux
+++ b/rel-eng/packages/spacewalk-selinux
@@ -1 +1 @@
-0.6.13-1 selinux/spacewalk-selinux/
+0.8.1-1 selinux/spacewalk-selinux/
diff --git a/selinux/spacewalk-selinux/spacewalk-selinux.spec b/selinux/spacewalk-selinux/spacewalk-selinux.spec
index 0fc16cf..0b3e242 100644
--- a/selinux/spacewalk-selinux/spacewalk-selinux.spec
+++ b/selinux/spacewalk-selinux/spacewalk-selinux.spec
@@ -7,7 +7,7 @@
%define modulename spacewalk
Name: spacewalk-selinux
-Version: 0.8.0
+Version: 0.8.1
Release: 1%{?dist}
Summary: SELinux policy module supporting Spacewalk Server
@@ -115,6 +115,9 @@ fi
%attr(0755,root,root) %{_sbindir}/%{name}-enable
%changelog
+* Fri Jan 15 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.1-1
+- rebuild for spacewalk 0.8
+
* Tue Jul 21 2009 John Matthews <jmatthew(a)redhat.com> 0.6.13-1
- Disabling requires on spacewalk-monitoring-selinux. (temporary)
(dgoodwin(a)redhat.com)
14 years, 4 months
Changes to 'refs/tags/yum-rhn-plugin-0.8.3-1'
by Michael Mraka
Tag 'yum-rhn-plugin-0.8.3-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2010-01-15 14:03 +0000
Tagging package [yum-rhn-plugin] version [0.8.3-1] in directory [client/rhel/yum-rhn-plugin/].
Changes since spacewalk-backend-0.8.29-1:
Michael Mraka (1):
Automatic commit of package [yum-rhn-plugin] release [0.8.3-1].
Tomas Lestach (1):
549752 - fix for check "channel in set" in UpdateChildChannelsCommand
---
client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec | 5 ++
java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java | 12 +-----
java/code/src/com/redhat/rhn/manager/system/SystemManager.java | 20 ++++++++++
java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java | 6 ++-
rel-eng/packages/yum-rhn-plugin | 2 -
5 files changed, 32 insertions(+), 13 deletions(-)
---
14 years, 4 months
client/rhel rel-eng/packages
by Michael Mraka
client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec | 5 ++++-
rel-eng/packages/yum-rhn-plugin | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 58ddb1e6b6053046b66f8aaa96e7f5e8bfec8311
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 15:03:14 2010 +0100
Automatic commit of package [yum-rhn-plugin] release [0.8.3-1].
diff --git a/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec b/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
index 3d9a96f..47cd678 100644
--- a/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
+++ b/client/rhel/yum-rhn-plugin/yum-rhn-plugin.spec
@@ -1,6 +1,6 @@
Summary: RHN support for yum
Name: yum-rhn-plugin
-Version: 0.8.2
+Version: 0.8.3
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENSE
%changelog
+* Fri Jan 15 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.3-1
+- fixed syntax error
+
* Thu Jan 14 2010 Miroslav Suchý <msuchy(a)redhat.com> 0.8.2-1
- 549368 - yum now (F12) pass new attribute size, we should honor it if given
diff --git a/rel-eng/packages/yum-rhn-plugin b/rel-eng/packages/yum-rhn-plugin
index db2aa0d..4224b26 100644
--- a/rel-eng/packages/yum-rhn-plugin
+++ b/rel-eng/packages/yum-rhn-plugin
@@ -1 +1 @@
-0.8.2-1 client/rhel/yum-rhn-plugin/
+0.8.3-1 client/rhel/yum-rhn-plugin/
14 years, 4 months
java/code
by Tomas Lestach
java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java | 12 +-----
java/code/src/com/redhat/rhn/manager/system/SystemManager.java | 20 ++++++++++
java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java | 6 ++-
3 files changed, 27 insertions(+), 11 deletions(-)
New commits:
commit b00f8e4cddd7bedc619494411920fd896047b1a8
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Fri Jan 15 14:42:56 2010 +0100
549752 - fix for check "channel in set" in UpdateChildChannelsCommand
(problem introduced in 30f26d)
+ introducing new method
diff --git a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java
index 9c7d3c1..c52560c 100644
--- a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java
+++ b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartScheduleCommand.java
@@ -1103,18 +1103,12 @@ public class KickstartScheduleCommand extends BaseSystemOperation {
}
Server hostServer = getHostServer();
- Iterator i = SystemManager.subscribableChannels(hostServer.getId(),
- this.user.getId(), hostServer.getBaseChannel().getId()).iterator();
+ Set channelIds = SystemManager.subscribableChannelIds(hostServer.getId(),
+ this.user.getId(), hostServer.getBaseChannel().getId());
- Set channelIds = new HashSet();
- // Add list of subscribable channels
- while (i.hasNext()) {
- Map row = (Map) i.next();
- channelIds.add(row.get("id"));
- }
// Add list of channels
Set serverChannelIds = new HashSet();
- i = hostServer.getChannels().iterator();
+ Iterator i = hostServer.getChannels().iterator();
while (i.hasNext()) {
Channel c = (Channel) i.next();
serverChannelIds.add(c.getId());
diff --git a/java/code/src/com/redhat/rhn/manager/system/SystemManager.java b/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
index 74a3b2c..3ffe843 100644
--- a/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
+++ b/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
@@ -82,6 +82,7 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
@@ -170,6 +171,25 @@ public class SystemManager extends BaseManager {
}
/**
+ * Gets the list of channel ids that this server could subscribe to
+ * according to it's base channel.
+ * @param sid The id of the server in question
+ * @param uid The id of the user asking
+ * @param cid The id of the base channel for the server
+ * @return Returns a list of subscribable (child) channel ids for this server.
+ */
+ public static Set subscribableChannelIds(Long sid, Long uid, Long cid) {
+ Iterator subscribableChannelIter = subscribableChannels(sid, uid, cid).iterator();
+
+ Set subscribableChannelIdSet = new HashSet();
+ while (subscribableChannelIter.hasNext()) {
+ Map row = (Map) subscribableChannelIter.next();
+ subscribableChannelIdSet.add(row.get("id"));
+ }
+ return subscribableChannelIdSet;
+ }
+
+ /**
* Gets the latest upgradable packages for a system
* @param sid The id for the system we want packages for
* @return Returns a list of the latest upgradable packages for a system
diff --git a/java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java b/java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java
index 18b9949..21a6288 100644
--- a/java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java
+++ b/java/code/src/com/redhat/rhn/manager/system/UpdateChildChannelsCommand.java
@@ -30,6 +30,7 @@ import com.redhat.rhn.manager.channel.ChannelManager;
import org.apache.log4j.Logger;
import java.util.ArrayList;
+import java.util.Set;
import java.util.List;
@@ -82,9 +83,10 @@ public class UpdateChildChannelsCommand extends BaseUpdateChannelCommand {
}
// Check whether channelsIds are childs of the current base
+ Set subscribableChannelIds = SystemManager.subscribableChannelIds(
+ server.getId(), user.getId(), server.getBaseChannel().getId());
for (Long channelId : cids) {
- if (!SystemManager.subscribableChannels(server.getId(),
- user.getId(), server.getBaseChannel().getId()).contains(channelId)) {
+ if (!subscribableChannelIds.contains(channelId)) {
Channel channel = ChannelFactory.lookupById(channelId);
if (channel == null) {
throw new InvalidChannelException();
14 years, 4 months
Changes to 'refs/tags/spacewalk-backend-0.8.29-1'
by Michael Mraka
Tag 'spacewalk-backend-0.8.29-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2010-01-15 13:39 +0000
Tagging package [spacewalk-backend] version [0.8.29-1] in directory [backend/].
Changes since spacewalk-schema-0.8.4-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-backend] release [0.8.29-1].
---
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
14 years, 4 months
backend/spacewalk-backend.spec rel-eng/packages
by Michael Mraka
backend/spacewalk-backend.spec | 5 ++++-
rel-eng/packages/spacewalk-backend | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 1a4c9ecadf834027bc5408c9de88cfe28d218112
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 14:39:09 2010 +0100
Automatic commit of package [spacewalk-backend] release [0.8.29-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index fc14e3f..f98a886 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -8,7 +8,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2
-Version: 0.8.28
+Version: 0.8.29
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -609,6 +609,9 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Fri Jan 15 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.29-1
+- added import of rhn-channel-checksum-type
+
* Thu Jan 14 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.28-1
- SHA256 code cleanup
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index 3aaedaf..09e75e4 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-0.8.28-1 backend/
+0.8.29-1 backend/
14 years, 4 months
Changes to 'refs/tags/spacewalk-schema-0.8.4-1'
by Michael Mraka
Tag 'spacewalk-schema-0.8.4-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2010-01-15 13:37 +0000
Tagging package [spacewalk-schema] version [0.8.4-1] in directory [schema/spacewalk/].
Changes since spacewalk-certs-tools-0.8.5-1:
Michael Mraka (4):
added import of <rhn-channel-checksum-type>
assume sha1 repo checksum for rhel5 channels
set rhnChannel.checksum_type_id for synced channels
Automatic commit of package [spacewalk-schema] release [0.8.4-1].
Miroslav Suchý (1):
fix syntax error
---
backend/satellite_tools/xmlSource.py | 1
backend/server/importlib/backend.py | 11 ++++++++
backend/server/importlib/backendOracle.py | 1
backend/server/importlib/channelImport.py | 13 ++++++++++
backend/server/importlib/importLib.py | 1
client/rhel/yum-rhn-plugin/actions/packages.py | 2 -
rel-eng/packages/spacewalk-schema | 2 -
schema/spacewalk/spacewalk-schema.spec | 5 +++
schema/spacewalk/upgrade/spacewalk-schema-0.7-to-spacewalk-schema-0.8/009-rhnChannel-checksum_type.sql | 8 ++++++
9 files changed, 41 insertions(+), 3 deletions(-)
---
14 years, 4 months
4 commits - backend/satellite_tools backend/server rel-eng/packages schema/spacewalk
by Michael Mraka
backend/satellite_tools/xmlSource.py | 1
backend/server/importlib/backend.py | 11 ++++++++
backend/server/importlib/backendOracle.py | 1
backend/server/importlib/channelImport.py | 13 ++++++++++
backend/server/importlib/importLib.py | 1
rel-eng/packages/spacewalk-schema | 2 -
schema/spacewalk/spacewalk-schema.spec | 5 +++
schema/spacewalk/upgrade/spacewalk-schema-0.7-to-spacewalk-schema-0.8/009-rhnChannel-checksum_type.sql | 8 ++++++
8 files changed, 40 insertions(+), 2 deletions(-)
New commits:
commit c35397e8a037a117c9ea9b841d89a415d0b4f63e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 14:37:00 2010 +0100
Automatic commit of package [spacewalk-schema] release [0.8.4-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index a360d0a..ca7b3c8 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-0.8.3-1 schema/spacewalk/
+0.8.4-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec b/schema/spacewalk/spacewalk-schema.spec
index 986ee9a..5f4466a 100644
--- a/schema/spacewalk/spacewalk-schema.spec
+++ b/schema/spacewalk/spacewalk-schema.spec
@@ -2,7 +2,7 @@ Name: spacewalk-schema
Group: Applications/Internet
Summary: Oracle SQL schema for Spacewalk server
-Version: 0.8.3
+Version: 0.8.4
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -58,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-schema-upgrade*
%changelog
+* Fri Jan 15 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.4-1
+- added upgrade script for rhnChannel.checksum_type_id
+
* Thu Jan 14 2010 Michael Mraka <michael.mraka(a)redhat.com> 0.8.3-1
- dropped dead tables
commit e2b8ea248c284ec18772f58b7dfd161e3453483a
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 14:26:59 2010 +0100
set rhnChannel.checksum_type_id for synced channels
diff --git a/schema/spacewalk/upgrade/spacewalk-schema-0.7-to-spacewalk-schema-0.8/009-rhnChannel-checksum_type.sql b/schema/spacewalk/upgrade/spacewalk-schema-0.7-to-spacewalk-schema-0.8/009-rhnChannel-checksum_type.sql
new file mode 100644
index 0000000..2ffa979
--- /dev/null
+++ b/schema/spacewalk/upgrade/spacewalk-schema-0.7-to-spacewalk-schema-0.8/009-rhnChannel-checksum_type.sql
@@ -0,0 +1,8 @@
+update rhnChannel
+ set checksum_type_id = (select id from rhnChecksumType where label = 'sha1')
+ where checksum_type_id is null
+ and (label like 'rhel-%-server-5'
+ or label like 'rhel-%-client-5'
+ or parent_channel in (select id from rhnChannel
+ where label like 'rhel-%-server-5'
+ or label like 'rhel-%-client-5'));
commit 4eda044f0def5554b5fc01db0d3360dff942c0ce
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 14:13:49 2010 +0100
assume sha1 repo checksum for rhel5 channels
diff --git a/backend/server/importlib/channelImport.py b/backend/server/importlib/channelImport.py
index c832964..37b6882 100644
--- a/backend/server/importlib/channelImport.py
+++ b/backend/server/importlib/channelImport.py
@@ -20,6 +20,9 @@ from importLib import Import, InvalidArchError, \
from common import CFG
from satellite_tools.syncLib import log
+import re
+RHEL5_REGEXP = re.compile("rhel-[^-]*-(server|client)-5")
+
class ChannelImport(Import):
def __init__(self, batch, backend):
Import.__init__(self, batch, backend)
@@ -55,6 +58,10 @@ class ChannelImport(Import):
if not channel.has_key('receiving_updates') or channel['receiving_updates'] is None:
channel['receiving_updates'] = 'N'
# Yum repo checksum type
+ if (not channel['checksum_type']
+ and (RHEL5_REGEXP.match(channel['label'])
+ or RHEL5_REGEXP.match(channel['parent_channel']))):
+ channel['checksum_type'] = 'sha1'
if channel['checksum_type'] not in self.checksum_types:
self.checksum_types[channel['checksum_type']] = None
commit 27d6e0f967ffc2973b533195f8bbdade580d8512
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Jan 15 13:00:37 2010 +0100
added import of <rhn-channel-checksum-type>
diff --git a/backend/satellite_tools/xmlSource.py b/backend/satellite_tools/xmlSource.py
index a8c0930..2f17d17 100644
--- a/backend/satellite_tools/xmlSource.py
+++ b/backend/satellite_tools/xmlSource.py
@@ -462,6 +462,7 @@ class ChannelItem(BaseItem):
'rhn-channel-product-version' : 'product_version',
'rhn-channel-product-beta' : 'product_beta',
'rhn-channel-receiving-updates' : 'receiving_updates',
+ 'rhn-channel-checksum-type' : 'checksum_type',
}
addItem(ChannelItem)
diff --git a/backend/server/importlib/backend.py b/backend/server/importlib/backend.py
index 261139b..89d7eac 100644
--- a/backend/server/importlib/backend.py
+++ b/backend/server/importlib/backend.py
@@ -434,6 +434,17 @@ class Backend:
if row:
checksumHash[k] = row['id']
+ def lookupChecksumTypes(self, checksumTypeHash):
+ if not checksumTypeHash:
+ return
+ sql = "select id from rhnChecksumType where label = :label"
+ h = self.dbmodule.prepare(sql)
+ for l in checksumTypeHash.keys():
+ h.execute(label=l)
+ row = h.fetchone_dict()
+ if row:
+ checksumTypeHash[l] = row['id']
+
def lookupPackageNEVRAs(self, nevraHash):
sql = "select LOOKUP_PACKAGE_NEVRA(:name, :evr, :arch) id from dual"
h = self.dbmodule.prepare(sql)
diff --git a/backend/server/importlib/backendOracle.py b/backend/server/importlib/backendOracle.py
index 8743510..e473919 100644
--- a/backend/server/importlib/backendOracle.py
+++ b/backend/server/importlib/backendOracle.py
@@ -283,6 +283,7 @@ class OracleBackend(Backend):
'receiving_updates' : DBstring(1),
'last_modified' : DBdateTime(),
'channel_product_id' : DBint(),
+ 'checksum_type_id' : DBint(),
},
pk = ['label'],
),
diff --git a/backend/server/importlib/channelImport.py b/backend/server/importlib/channelImport.py
index d39fd50..c832964 100644
--- a/backend/server/importlib/channelImport.py
+++ b/backend/server/importlib/channelImport.py
@@ -29,6 +29,7 @@ class ChannelImport(Import):
self.will_commit = 1
self.releases = {}
self.channels = {}
+ self.checksum_types = {}
def preprocess(self):
# Processes the batch to a form more suitable for database
@@ -53,6 +54,9 @@ class ChannelImport(Import):
self.arches[release['channel_arch']] = None
if not channel.has_key('receiving_updates') or channel['receiving_updates'] is None:
channel['receiving_updates'] = 'N'
+ # Yum repo checksum type
+ if channel['checksum_type'] not in self.checksum_types:
+ self.checksum_types[channel['checksum_type']] = None
# bug #528227
# Print a warning in case the sync would move the channel between orgs
@@ -69,6 +73,7 @@ class ChannelImport(Import):
def fix(self):
self.backend.lookupChannelArches(self.arches)
self.backend.lookupChannelFamilies(self.families)
+ self.backend.lookupChecksumTypes(self.checksum_types)
# Fix
for channel in self.batch:
self.__postprocessChannel(channel)
@@ -82,6 +87,7 @@ class ChannelImport(Import):
channel.ignored = 1
raise InvalidArchError(arch, "Unsupported channel arch %s" % arch)
channel['channel_arch_id'] = self.arches[arch]
+ channel['checksum_type_id'] = self.checksum_types[channel['checksum_type']]
if channel.has_key('product_name'):
channel['product_name_id'] = self.backend.lookupProductNames(
diff --git a/backend/server/importlib/importLib.py b/backend/server/importlib/importLib.py
index e07f121..5d93e80 100644
--- a/backend/server/importlib/importLib.py
+++ b/backend/server/importlib/importLib.py
@@ -205,6 +205,7 @@ class Channel(Information):
'product_name_id' : IntType,
'channel_product_id': IntType,
'receiving_updates' : StringType,
+ 'checksum_type' : StringType, # xml dumps >= 3.5
# XXX Not really useful stuff
'basedir' : StringType,
'product_name' : StringType,
14 years, 4 months
client/rhel
by Miroslav Suchý
client/rhel/yum-rhn-plugin/actions/packages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d2ae8d115427100dce3e68f752faafc93f974353
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Jan 15 12:50:26 2010 +0100
fix syntax error
addressing:
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 276, in __run_action
(status, message, data) = CheckCli.__do_call(method, params)
File "/usr/sbin/rhn_check", line 268, in __do_call
method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")
File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod
actions = __import__(modulename)
<type exceptions.SyntaxError>: invalid syntax (packages.py, line 325)
diff --git a/client/rhel/yum-rhn-plugin/actions/packages.py b/client/rhel/yum-rhn-plugin/actions/packages.py
index 9be06ea..6f07037 100644
--- a/client/rhel/yum-rhn-plugin/actions/packages.py
+++ b/client/rhel/yum-rhn-plugin/actions/packages.py
@@ -322,7 +322,7 @@ class RunTransactionCommand:
def execute(self, yum_base):
yum_base.add_transaction_data(self.transaction_data)
-def _runTransaction(transaction_data)
+def _runTransaction(transaction_data):
""" Run a tranaction on a group of packages. """
command = RunTransactionCommand(transaction_data)
return _run_yum_action(command)
14 years, 4 months