From a4f33b43d07a91c5c28c1c6a84577b1cb980cd7d 2011-06-23 23:25:00
From: MinRK <benjaminrk@gmail.com>
Date: 2011-06-23 23:25:00
Subject: [PATCH] fix remaining Itpl syntax in SGE queue_template

'$queue' fixed to '{queue}'
---

diff --git a/IPython/parallel/apps/launcher.py b/IPython/parallel/apps/launcher.py
index 285c349..0d1eb9a 100644
--- a/IPython/parallel/apps/launcher.py
+++ b/IPython/parallel/apps/launcher.py
@@ -965,7 +965,7 @@ class SGELauncher(PBSLauncher):
     job_array_regexp = Unicode('#\$\W+\-t')
     job_array_template = Unicode('#$ -t 1-{n}')
     queue_regexp = Unicode('#\$\W+-q\W+\$?\w+')
-    queue_template = Unicode('#$ -q $queue')
+    queue_template = Unicode('#$ -q {queue}')
 
 class SGEControllerLauncher(SGELauncher):
     """Launch a controller using SGE."""