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 '
Show replies by date