From 0025273fcae3d66a4f0889f4d033ece8b93fa334 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 --- system/cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/cron b/system/cron index a85bdd57976..32e7e872f06 100644 --- a/system/cron +++ b/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')