From 899ba4c9bb59c5f8a00b6a7dff2715da896b7cc7 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Tue, 8 Apr 2014 12:53:56 -0400 Subject: [PATCH] Fixes syntax error in cron module caused by #6870 --- library/system/cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/cron b/library/system/cron index a85bdd57976..32e7e872f06 100644 --- a/library/system/cron +++ b/library/system/cron @@ -353,7 +353,7 @@ class CronTab(object): if platform.system() == 'SunOS': return "su %s -c '%s -l'" % (pipes.quote(self.user), pipes.quote(CRONCMD)) elif platform.system() == 'AIX': - return "%s -l %s" % (pipes.quote(CRONCMD), (pipes.quote(self.user)) + return "%s -l %s" % (pipes.quote(CRONCMD), pipes.quote(self.user)) else: user = '-u %s' % pipes.quote(self.user) return "%s %s %s" % (CRONCMD , user, '-l')