[pypy-commit] buildbot default: I believe this is correct :)

fijal noreply at buildbot.pypy.org
Thu Jan 26 13:48:56 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r623:29b4d8f8ccf0
Date: 2012-01-26 14:47 +0200
http://bitbucket.org/pypy/buildbot/changeset/29b4d8f8ccf0/

Log:	I believe this is correct :)

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -76,7 +76,9 @@
         except OSError:
             pass
         try:
-            symlink_force(os.path.basename(self.masterdest), 'latest.html')
+            symname = os.path.join(os.path.dirname(self.masterdest),
+                                   'latest.html')
+            symlink_force(self.masterdest, symname)
         except OSError:
             pass    
 


More information about the pypy-commit mailing list