[Buildbot-commits] buildbot/contrib arch_buildbot.py,1.1,1.2

Brian Warner warner at users.sourceforge.net
Wed May 4 04:14:22 UTC 2005


Update of /cvsroot/buildbot/buildbot/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24022/contrib

Modified Files:
	arch_buildbot.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-122
Creator:  Brian Warner <warner at monolith.lothar.com>

oops, fix hook script

fix arch_buildbot.py


Index: arch_buildbot.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/contrib/arch_buildbot.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- arch_buildbot.py	4 May 2005 04:13:57 -0000	1.1
+++ arch_buildbot.py	4 May 2005 04:14:20 -0000	1.2
@@ -25,7 +25,7 @@
 
 os.chdir(os.getenv("ARCH_TREE_ROOT"))
 filelist = ",,bb-files"
-comments = ",,bb-comments"
+commentfile = ",,bb-comments"
 
 if os.getenv("ARCH_HOOK_ACTION") == "precommit":
     files = []
@@ -42,7 +42,7 @@
     if len(logfiles) > 1:
         print ("Warning, multiple ++log.* files found, getting comments "
                "from the first one")
-    open(comments, "w").write(open(logfiles[0], "r").read())
+    open(commentfile, "w").write(open(logfiles[0], "r").read())
 
 elif os.getenv("ARCH_HOOK_ACTION") == "commit":
     revision = os.getenv("ARCH_REVISION")





More information about the Commits mailing list