java/code
by Tomas Lestach
java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java | 22 +++++-----
1 file changed, 13 insertions(+), 9 deletions(-)
New commits:
commit 25447b0c66e0ab8ba417c25ee432f9907631fcb8
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Wed Feb 17 15:28:50 2010 +0100
checkstyle fixes
diff --git a/java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java b/java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java
index e91dbd9..c252755 100644
--- a/java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java
+++ b/java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java
@@ -26,7 +26,6 @@ import com.redhat.rhn.common.security.PermissionException;
import com.redhat.rhn.domain.channel.Channel;
import com.redhat.rhn.domain.channel.ChannelArch;
import com.redhat.rhn.domain.channel.ChannelFactory;
-import com.redhat.rhn.domain.channel.ContentSource;
import com.redhat.rhn.domain.channel.InvalidChannelRoleException;
import com.redhat.rhn.domain.channel.NewChannelHelper;
import com.redhat.rhn.domain.errata.Errata;
@@ -38,7 +37,6 @@ import com.redhat.rhn.domain.role.Role;
import com.redhat.rhn.domain.role.RoleFactory;
import com.redhat.rhn.domain.server.Server;
import com.redhat.rhn.domain.server.ServerFactory;
-import com.redhat.rhn.domain.task.TaskFactory;
import com.redhat.rhn.domain.user.User;
import com.redhat.rhn.frontend.dto.ErrataOverview;
import com.redhat.rhn.frontend.events.UpdateErrataCacheEvent;
@@ -63,7 +61,6 @@ import com.redhat.rhn.manager.errata.cache.ErrataCacheManager;
import com.redhat.rhn.manager.system.IncompatibleArchException;
import com.redhat.rhn.manager.system.SystemManager;
import com.redhat.rhn.manager.user.UserManager;
-import com.redhat.rhn.taskomatic.task.RepoSyncTask;
import com.redhat.rhn.taskomatic.task.TaskConstants;
import org.apache.commons.lang.BooleanUtils;
@@ -526,8 +523,14 @@ public class ChannelSoftwareHandler extends BaseHandler {
* @param name Name of Channel
* @param summary Channel Summary
* @param archLabel Architecture label
- * @param parentlabel Parent Channel label (may be null)
- * @param checksumtype checksum type for this channel
+ * @param parentLabel Parent Channel label (may be null)
+ * @param checksumType checksum type for this channel
+ * @param gpgKeyUrl GPG key URL
+ * @param gpgKeyId GPG key ID
+ * @param gpgKeyFingerprint GPG key Fingerprint
+ * @param yumrepoUrl Associated Yum Repository URL
+ * @param yumrepoLabel Associated Yum Repository Label
+ * @param syncYumrepo Sync Yum Repository
* @return 1 if creation of channel succeeds.
* @since 10.9
* @throws PermissionCheckFailureException thrown if user does not have
@@ -576,7 +579,8 @@ public class ChannelSoftwareHandler extends BaseHandler {
* @xmlrpc.param #param_desc("string", "gpgKeyId", "GPG key ID")
* @xmlrpc.param #param_desc("string", "gpgKeyFingerprint", "GPG key Fingerprint")
* @xmlrpc.param #param_desc("string", "yumrepoUrl", "Associated Yum Repository URL")
- * @xmlrpc.param #param_desc("string", "yumrepoLabel", "Associated Yum Repository Label")
+ * @xmlrpc.param #param_desc("string", "yumrepoLabel", "Associated Yum
+ * Repository Label")
* @xmlrpc.param #param_desc("boolean", "syncYumRepo", "Sync Yum Repository")
* @xmlrpc.returntype int - 1 if the creation operation succeeded, 0 otherwise
*/
@@ -616,8 +620,8 @@ public class ChannelSoftwareHandler extends BaseHandler {
* @param name Name of Channel
* @param summary Channel Summary
* @param archLabel Architecture label
- * @param parentlabel Parent Channel label (may be null)
- * @param checksumtype checksum type for this channel
+ * @param parentLabel Parent Channel label (may be null)
+ * @param checksumType checksum type for this channel
* @return 1 if creation of channel succeeds.
* @since 10.9
* @throws PermissionCheckFailureException thrown if user does not have
@@ -683,7 +687,7 @@ public class ChannelSoftwareHandler extends BaseHandler {
* @param name Name of Channel
* @param summary Channel Summary
* @param archLabel Architecture label
- * @param parentlabel Parent Channel label (may be null)
+ * @param parentLabel Parent Channel label (may be null)
* @return 1 if creation of channel succeeds.
* @throws PermissionCheckFailureException thrown if user does not have
* permission to create the channel.
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/up2date_client/hardware.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 4117152fce1fca1524ce570d24f283b553fb2e4f
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Feb 17 14:02:14 2010 +0100
We have socket.settimeout in Python 2.3+.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
index e7bf54f..3f759e4 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/hardware.py
@@ -732,9 +732,7 @@ def findHostByRoute():
port = int(port)
try:
- # RHEL3 doesn't let you set a timeout, see #164660
- if hasattr(s, "settimeout"):
- s.settimeout(5)
+ s.settimeout(5)
s.connect((server, port))
(intf, port) = s.getsockname()
hostname = socket.gethostbyaddr(intf)[0]
14 years, 2 months
2 commits - client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py | 3 -
client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 2 -
client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py | 22 +++--------
client/rhel/rhn-client-tools/src/up2date_client/tui.py | 4 +-
4 files changed, 11 insertions(+), 20 deletions(-)
New commits:
commit ab00972f7d9d321d3eb04d1a4a4f8d82134e6146
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 12 14:05:09 2010 +0100
Since other is not used in rhnreg.getAvailableChannels anymore, no need to initialize it.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
index f1c9d3b..b031d3b 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
@@ -805,11 +805,8 @@ def chooseChannelShouldBeShown():
# First and foremost, does the server support eus?
if rhnreg.server_supports_eus():
- global username, password, oragnization
- other = {}
- if organization is not None:
- other['org_id'] = organization
-
+ global username, password
+
channels = rhnreg.getAvailableChannels(username, password)
channels = channels['channels']
@@ -840,11 +837,8 @@ class ChooseChannelPage:
def chooseChannelPagePrepare(self):
- global username, password, organization
- other = {}
- if organization is not None:
- other['org_id'] = organization
-
+ global username, password
+
self.eus_channels = rhnreg.getAvailableChannels(username, password)
self.channels = self.eus_channels['channels']
commit 8026fe92ff1e20df410f023704e86f5689ce91af
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Feb 17 11:42:13 2010 +0100
Parameter other not used at all in rhnreg.getAvailableChannels, remove it from invocations.
diff --git a/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py b/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
index 16de077..0e62135 100755
--- a/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
+++ b/client/rhel/rhn-client-tools/src/bin/rhnreg_ks.py
@@ -136,8 +136,7 @@ class RegisterKsCli(rhncli.RhnCli):
sys.exit(-1)
channels = rhnreg.getAvailableChannels(self.options.username,
- self.options.password,
- other)
+ self.options.password)
other['channel'] = channels['default_channel']
try:
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index a4d0b2c..2faeb0e 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -406,7 +406,7 @@ def registerSystem(username = None, password = None,
-def getAvailableChannels(username, password, other):
+def getAvailableChannels(username, password):
s = rhnserver.RhnServer()
server_arch = up2dateUtils.getArch()
server_version = up2dateUtils.getVersion()
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
index 710e511..f1c9d3b 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
@@ -810,8 +810,7 @@ def chooseChannelShouldBeShown():
if organization is not None:
other['org_id'] = organization
- channels = rhnreg.getAvailableChannels(username, password,
- other)
+ channels = rhnreg.getAvailableChannels(username, password)
channels = channels['channels']
@@ -846,9 +845,8 @@ class ChooseChannelPage:
if organization is not None:
other['org_id'] = organization
- self.eus_channels = rhnreg.getAvailableChannels(username, password,
- other)
-
+ self.eus_channels = rhnreg.getAvailableChannels(username, password)
+
self.channels = self.eus_channels['channels']
self.receiving_updates = self.eus_channels['receiving_updates']
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/tui.py b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
index 2bfd651..56a846e 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/tui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
@@ -598,7 +598,7 @@ class OSReleaseWindow:
toplevel.add(self.channelList, 0, 5)
self.available_channels = rhnreg.getAvailableChannels(
- self.tui.userName, self.tui.password, self.tui.other)
+ self.tui.userName, self.tui.password)
for key, value in self.available_channels['channels'].items():
if key in self.available_channels['receiving_updates']:
@@ -1468,7 +1468,7 @@ class Tui:
if win.name == 'OSReleaseWindow':
channels = rhnreg.getAvailableChannels(self.userName,
- self.password, self.other)
+ self.password)
# If user is not entitled to eus channels or
# if no eus channels are available skip the
# choose channel screen
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/up2date_client/tui.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit cdc0a73a2b91956881136e386e2ab001d2844d78
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 15 13:52:49 2010 +0100
Attribute read_reg_num_hw is only used to assign data, remove.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/tui.py b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
index 11344de..2bfd651 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/tui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
@@ -1390,10 +1390,9 @@ class Tui:
hardwareInfo)
if activateHWResult.getStatus() == \
rhnreg.ActivationResult.ACTIVATED_NOW:
- self.read_reg_num_hw = \
+ self.other['registration_number'] = \
activateHWResult.getRegistrationNumber()
- self.other['registration_number'] = self.read_reg_num_hw
- rhnreg.writeRegNum(self.read_reg_num_hw)
+ rhnreg.writeRegNum(self.other['registration_number'])
self.activated_now = 1
except up2dateErrors.NotEntitlingError:
log.log_debug('There are are no entitlements associated '
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 20 ++++-------
client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py | 11 ------
2 files changed, 9 insertions(+), 22 deletions(-)
New commits:
commit 0400c85929cfc92b2de5eb93c77be9b5a6a67c47
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 12 14:21:15 2010 +0100
The getAvailableSubscriptions is never called with useCache True, removing the caching code and caching-only invocation.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index 53e6368..a4d0b2c 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -43,7 +43,6 @@ REMIND_FILE = "%s/rhn_register_remind" % SYSID_DIR
REG_NUM_FILE = "%s/install-num" % SYSID_DIR
cachedOrgs = None
-cachedAvailableSubscriptions = None
import config
cfg = config.initUp2dateConfig()
@@ -564,7 +563,7 @@ def getRemainingSubscriptions(username, password):
log.log_debug('Server returned %s' % subs)
return subs
-def getAvailableSubscriptions(username, password, useCache=False):
+def getAvailableSubscriptions(username, password):
"""Higher level and more convenient version of getRemainingSubscriptions.
Precondition: getCaps() was called.
@@ -577,7 +576,7 @@ def getAvailableSubscriptions(username, password, useCache=False):
probably others
"""
- global cachedAvailableSubscriptions
+ availableSubscriptions = None
log.log_debug('Calling getAvailableSubscriptions')
@@ -586,16 +585,15 @@ def getAvailableSubscriptions(username, password, useCache=False):
"registration.remaining_subscriptions call which is needed."
raise up2dateErrors.ServerCapabilityError(message)
- if cachedAvailableSubscriptions is None or useCache is False:
- try:
- cachedAvailableSubscriptions = \
+ try:
+ availableSubscriptions = \
getRemainingSubscriptions(username, password)
- except up2dateErrors.NoBaseChannelError, e:
- cachedAvailableSubscriptions = 0
- log.log_debug('NoBaseChannelError raised.')
+ except up2dateErrors.NoBaseChannelError, e:
+ availableSubscriptions = 0
+ log.log_debug('NoBaseChannelError raised.')
log.log_debug('Returning %s available subscriptions.' %
- cachedAvailableSubscriptions)
- return cachedAvailableSubscriptions
+ availableSubscriptions)
+ return availableSubscriptions
def sendHardware(systemId, hardwareList):
s = rhnserver.RhnServer()
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
index e77ec5f..710e511 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnregGui.py
@@ -1705,9 +1705,6 @@ def autoActivateNumbersOnce():
there was an error. If this call is made more than once, every call after
the first will return (None, None).
- After activating the numbers, it will refresh the cached available
- subscriptions used by rhnreg.getAvailableSubscriptions.
-
If something is activated, the resulting reg num will be stored so it will
be used when creating the system profile (for child channels). A number
from disk takes precedence over hardware info if both are activated.
@@ -1776,14 +1773,6 @@ def autoActivateNumbersOnce():
else:
regNum = registrationNumber
- # Call getAvailableSubscriptions to refresh its cache
- rhnreg.getAvailableSubscriptions(username, password)
- ## log.log_me("It looks like the EN was successfully activated"
- ## " but there still aren't any available "
- ## "entitlements in the account. Maybe there's a "
- ## "delay with them activating, so we'll continue "
- ## "with registration and hope they show up later "
- ## "and apply to this profile.")
return (activateRegNumResult, activateHWResult)
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py | 27 ++++++--------
1 file changed, 12 insertions(+), 15 deletions(-)
New commits:
commit 4979f339abf9189d10703bd5bada1d6201a904a7
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri Feb 12 14:11:46 2010 +0100
The getAvailableChannels is never called with useCache set to true, therefore is it always False, therefore no caching.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
index cbcbe2a..53e6368 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/rhnreg.py
@@ -44,7 +44,6 @@ REG_NUM_FILE = "%s/install-num" % SYSID_DIR
cachedOrgs = None
cachedAvailableSubscriptions = None
-cachedAvailableChannels = None
import config
cfg = config.initUp2dateConfig()
@@ -408,29 +407,27 @@ def registerSystem(username = None, password = None,
-def getAvailableChannels(username, password, other, useCache = False):
-
- global cachedAvailableChannels
-
+def getAvailableChannels(username, password, other):
s = rhnserver.RhnServer()
server_arch = up2dateUtils.getArch()
server_version = up2dateUtils.getVersion()
server_release = up2dateUtils.getRelease()
- if cachedAvailableChannels is None or useCache == False:
- try:
- cachedAvailableChannels = rpcServer.doCall(
- s.registration.available_eus_channels,
+ availableChannels = None
+
+ try:
+ availableChannels = rpcServer.doCall(
+ s.registration.available_eus_channels,
username, password,
server_arch, server_version,
server_release)
- except rpclib.Fault, f:
- if f.faultCode == 99:
- raise up2dateErrors.DelayError(f.faultString)
- else:
- raise
+ except rpclib.Fault, f:
+ if f.faultCode == 99:
+ raise up2dateErrors.DelayError(f.faultString)
+ else:
+ raise
- return cachedAvailableChannels
+ return availableChannels
14 years, 2 months
Changes to 'refs/tags/rhn-client-tools-0.9.2-1'
by Miroslav Suchý
Tag 'rhn-client-tools-0.9.2-1' created by Miroslav Suchý <msuchy(a)redhat.com> at 2010-02-17 09:59 +0000
Tagging package [rhn-client-tools] version [0.9.2-1] in directory [client/rhel/rhn-client-tools/].
Changes since rhn-client-tools-0.9.1-1:
Jan Pazdziora (2):
updateUtils does not seem to use re, sys, nor rpm: remove the imports.
Remove updates-released from .spec as well.
Miroslav Suchý (1):
Automatic commit of package [rhn-client-tools] release [0.9.2-1].
---
client/rhel/rhn-client-tools/rhn-client-tools.spec | 5 ++---
client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py | 3 ---
rel-eng/packages/rhn-client-tools | 2 +-
3 files changed, 3 insertions(+), 7 deletions(-)
---
14 years, 2 months
client/rhel rel-eng/packages
by Miroslav Suchý
client/rhel/rhn-client-tools/rhn-client-tools.spec | 4 ++--
rel-eng/packages/rhn-client-tools | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 65a002e16d8d1de6af9b2a0aa7a7c42f961c70f4
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Feb 17 10:59:09 2010 +0100
Automatic commit of package [rhn-client-tools] release [0.9.2-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index 867edc3..c804020 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL: https://fedorahosted.org/spacewalk
Name: rhn-client-tools
-Version: 0.9.1
+Version: 0.9.2
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -235,7 +235,7 @@ make -f Makefile.rhn-client-tools test
%{_datadir}/applications/rhn_register.desktop
%changelog
-* Wed Feb 17 2010 Miroslav Suchy <msuchy(a)redhat.com> 0.9.1-1
+* Wed Feb 17 2010 Miroslav Suchy <msuchy(a)redhat.com> 0.9.2-1
- 564491 - package should be noarch
* Fri Feb 5 2010 Miroslav Suchy <msuchy(a)redhat.com> 0.8.12-1
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index 32c1b92..531af98 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-0.9.1-1 client/rhel/rhn-client-tools/
+0.9.2-1 client/rhel/rhn-client-tools/
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/rhn-client-tools.spec | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 3203585df67cbfca0d0535ac70a5d891b826d947
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Feb 17 10:57:58 2010 +0100
Remove updates-released from .spec as well.
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index e3746ee..867edc3 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -126,7 +126,6 @@ make -f Makefile.rhn-client-tools test
# some info about mirrors
%doc doc/ChangeLog
%doc doc/mirrors.txt
-%doc doc/updates-released
%doc doc/AUTHORS
%doc doc/LICENSE
%{_mandir}/man8/rhn-profile-sync.8*
14 years, 2 months
client/rhel
by Jan Pazdziora
client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 2464d1b1eb6547be56b571481caf3c7dfb90102a
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 15 20:02:25 2010 +0100
updateUtils does not seem to use re, sys, nor rpm: remove the imports.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py b/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
index b8749d2..f2eded1 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
@@ -6,10 +6,7 @@
#
"""utility functions for up2date"""
-import re
import os
-import sys
-import rpm
import string
import up2dateErrors
14 years, 2 months