spacecmd/src/lib/system.py | 1 + 1 file changed, 1 insertion(+)
New commits: commit ad5f2714428c7f6011a9ce60b90af0e767fed866 Author: Milan Zazrivec mzazrivec@redhat.com Date: Fri Nov 8 15:35:35 2013 +0100
835979 - system_runscript: convert date/time to iso-8601
This is to fix the following error (returned from server):
ERROR: com.redhat.rhn.common.translation.TranslationException: Could not find translator for class java.lang.String to class java.util.Date
diff --git a/spacecmd/src/lib/system.py b/spacecmd/src/lib/system.py index 91d5787..433d18b 100644 --- a/spacecmd/src/lib/system.py +++ b/spacecmd/src/lib/system.py @@ -365,6 +365,7 @@ def do_system_runscript(self, args): else: options.timeout = int(options.timeout) if not options.start_time: options.start_time = parse_time_input('now') + options.start_time = parse_time_input(options.start_time)
if not options.file: logging.error('A script file is required')
spacewalk-commits@lists.fedorahosted.org