]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/build.py: No need for this gross hack now
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 27 Jan 2010 12:40:02 +0000 (12:40 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 27 Jan 2010 12:40:02 +0000 (12:40 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py

index 6d80b4b549ddb68033be0b77d5ed42e56c9205b5..1c713bf829e81836dfaa03523d991d01bee60f3d 100644 (file)
@@ -125,9 +125,7 @@ def exec_func(func, d, dirs = None):
     if not t:
         bb.msg.fatal(bb.msg.domain.Build, "T not set")
     mkdirhier(t)
-    # Gross hack, FIXME
-    import random
-    logfile = "%s/log.%s.%s.%s" % (t, func, str(os.getpid()),random.random())
+    logfile = "%s/log.%s.%s" % (t, func, str(os.getpid()))
     runfile = "%s/run.%s.%s" % (t, func, str(os.getpid()))
 
     # Change to correct directory (if specified)