From 00389af1c2cbdc9514673ae0b7d6c5854972e5ee Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 23 May 2014 16:09:57 -0700 Subject: [PATCH] Fix typo in variable name --- library/packaging/rhn_register | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/packaging/rhn_register b/library/packaging/rhn_register index 2282469b03e..1e92405c827 100644 --- a/library/packaging/rhn_register +++ b/library/packaging/rhn_register @@ -269,7 +269,7 @@ class Rhn(RegistrationBase): # Enable requested repoid's for wanted_channel in channels: # Each inserted repo regexp will be matched. If no match, no success. - for availaible_channel in stdout.rstrip().split('\n'): # .rstrip() because of \n at the end -> empty string at the end + for available_channel in stdout.rstrip().split('\n'): # .rstrip() because of \n at the end -> empty string at the end if re.search(wanted_repo, available_channel): rc, stdout, stderr = self.module.run_command(rhn_channel_cmd + " --add --channel=%s" % available_channel, check_rc=True)