Fixed '-' parsing bug for list --assigned option.
authorW. Trevor King <wking@drexel.edu>
Sat, 15 Nov 2008 23:53:45 +0000 (18:53 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 15 Nov 2008 23:53:45 +0000 (18:53 -0500)
becommands/list.py

index 6cd7826c403b3903682b20131024abb38c488267..4514039eeb453de627e11d857bfd72cf0fa4c343 100644 (file)
@@ -71,7 +71,7 @@ def execute(args):
             assigned = "all"
     for i in range(len(assigned)):
         if assigned[i] == '-':
-            assigned[i] == names.creator()
+            assigned[i] = names.creator()
     # select target
     if options.target != None:
         if options.target == "all":