Skip to content

Commit

Permalink
Builder: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 14, 2011
1 parent 07e2f4e commit 01c341d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions distrib/autobuild.py
Expand Up @@ -141,7 +141,7 @@ def create_build_event():
# Tag the source with the build identifier.
git_tag(todaysBuild)

prevBuild = find_newest_build()['tag']
prevBuild = builder.find_newest_event()['tag']
print 'The previous build is:', prevBuild

if prevBuild == todaysBuild:
Expand Down Expand Up @@ -221,11 +221,11 @@ def update_feed():
print >> out, '<language>en-us</language>'
print >> out, '<webMaster>skyjake@users.sourceforge.net (Jaakko Keränen)</webMaster>'
print >> out, '<lastBuildDate>%s</lastBuildDate>' % time.strftime(builder.config.RFC_TIME,
time.gmtime(find_newest_build()['time']))
time.gmtime(builder.find_newest_event()['time']))
print >> out, '<generator>dengBot</generator>'
print >> out, '<ttl>180</ttl>' # 3 hours

for timestamp, tag, ev in events_by_time():
for timestamp, tag, ev in builder.events_by_time():
print >> out, '<item>'
print >> out, '<title>Build %i</title>' % ev.number()
print >> out, '<link>%s/%s/</link>' % (builder.config.BUILD_URI, tag)
Expand Down
2 changes: 1 addition & 1 deletion distrib/builder/event.py
@@ -1,4 +1,4 @@
import os, glob, shutil
import os, glob, shutil, time
import build_number
import config
import utils
Expand Down
2 changes: 1 addition & 1 deletion distrib/builder/utils.py
Expand Up @@ -8,7 +8,7 @@


def sys_id():
return "%s-%s" % (sys.platform, platform.architecture()[0])))
return "%s-%s" % (sys.platform, platform.architecture()[0])


def remote_copy(src, dst):
Expand Down

0 comments on commit 01c341d

Please sign in to comment.