backend/satellite_tools/satsync.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 344387ef652516e49dc3c05a90073563d0ae560d
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Aug 28 13:59:49 2013 +0200
1001978 - fixed typo
addressing
Traceback (most recent call last):
File "/usr/bin/satellite-sync", line 169, in <module>
sys.exit(abs(main() or 0))
File "/usr/bin/satellite-sync", line 138, in main
return satsync.Runner().main()
File
"/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line
164, in main
actionDict, channels = processCommandline()
File
"/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line
2219, in processCommandline
log2stderr(-1, msg, cleanYN=1)
UnboundLocalError: local variable 'msg' referenced before assignment
diff --git a/backend/satellite_tools/satsync.py b/backend/satellite_tools/satsync.py
index f63bcaa..55a0c75 100644
--- a/backend/satellite_tools/satsync.py
+++ b/backend/satellite_tools/satsync.py
@@ -2215,7 +2215,7 @@ def processCommandline():
if OPTIONS.master:
if not OPTIONS.mount_point:
- mst = _("ERROR: The --master option is only valid with the --mount-point
option")
+ msg = _("ERROR: The --master option is only valid with the --mount-point
option")
log2stderr(-1, msg, cleanYN=1)
sys.exit(28)
elif CFG.ISS_PARENT:
Show replies by date