sbsv2/raptor/python/raptor_cli.py
branchfix
changeset 413 5eb26ea9cb49
parent 225 d401dbd3a410
child 498 564986768b79
--- a/sbsv2/raptor/python/raptor_cli.py	Fri Mar 26 16:43:35 2010 +0000
+++ b/sbsv2/raptor/python/raptor_cli.py	Mon Mar 29 09:55:24 2010 +0100
@@ -34,7 +34,7 @@
 # raptor_cli module attributes
 
 parser = OptionParser(prog = raptor.name,
-					  usage = """%prog [--help] [options] [variable=value] [target] ...
+					  usage = """%prog [--help] [options] [target] ...
 
 Targets:
 
@@ -247,13 +247,8 @@
 
 	# the leftover_args are either variable assignments of the form a=b
 	# or target names.
-	regex = re.compile("^(.+)=(.*)$")
 	for leftover in leftover_args:
-		assignment = regex.findall(leftover)
-		if len(assignment) > 0:
-			Raptor.SetEnv(assignment[0][0],assignment[0][1])
-		else:
-			Raptor.AddTarget(leftover)
+		Raptor.AddTarget(leftover)
 
 	# Define the dictionary of functions to be used.
 	# Attributes and function names can be added easily.