app/soc/views/helper/access.py
changeset 1122 659984867a9a
parent 1115 0a723ff3d27c
child 1135 24d695060863
--- a/app/soc/views/helper/access.py	Sat Jan 31 16:20:11 2009 +0000
+++ b/app/soc/views/helper/access.py	Sat Jan 31 17:01:56 2009 +0000
@@ -930,11 +930,10 @@
       # timeline does not exists so deny
       self.deny(django_args)
 
-    splitkeyname = time_line_keyname.rsplit('/')
+    split_keyname = time_line_keyname.rsplit('/')
 
-    fields = {'scope_path' : splitkeyname[0],
-        'workflow' : splitkeyname[1],
-        'link_id' : splitkeyname[2],
+    fields = {'scope_path' : split_keyname[0],
+        'link_id' : split_keyname[1],
         }
 
     return self.checkIsHostForProgram(fields)