Remove useless variable
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 28 Apr 2014 13:16:25 +0000 (15:16 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 28 Apr 2014 13:18:46 +0000 (15:18 +0200)
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
tools/spec2yocto.py

index 9d915cf..7d011e7 100755 (executable)
@@ -2877,9 +2877,9 @@ class spec2yoctoCommandline( cmdln.Cmdln ):
         else:
             project = opts.project
 
-        res = working_dir = SPEC2YOCTO_CONFIG.get_working_dir( project )
-        if res != 1:
-            print res
+        working_dir = SPEC2YOCTO_CONFIG.get_working_dir( project )
+        if working_dir != 1:
+            print working_dir
 
 def main():
     commandline = spec2yoctoCommandline()