Permalink
Browse files

fix pyflakes

  • Loading branch information...
1 parent dd60a59 commit 1d82ec9c45d5481d71f025498a437cb7af061842 @djmitche djmitche committed Mar 29, 2012
Showing with 3 additions and 4 deletions.
  1. +0 −2 master/buildbot/status/builder.py
  2. +3 −2 master/buildbot/test/unit/test_status_builder_cache.py
@@ -16,14 +16,12 @@
from __future__ import with_statement
-import weakref
import os, re, itertools
from cPickle import load, dump
from zope.interface import implements
from twisted.python import log, runtime
from twisted.persisted import styles
-from buildbot.process import metrics
from buildbot import interfaces, util
from buildbot.util.lru import LRUCache
from buildbot.status.event import Event
@@ -25,8 +25,9 @@ class TestBuildStatus(unittest.TestCase):
# that these classes are not well isolated!
def setupBuilder(self, buildername, category=None):
- master = fakemaster.make_master()
- b = builder.BuilderStatus(buildername=buildername, category=category, master=master)
+ m = fakemaster.make_master()
+ b = builder.BuilderStatus(buildername=buildername, category=category,
+ master=m)
# Awkwardly, Status sets this member variable.
b.basedir = os.path.abspath(self.mktemp())
os.mkdir(b.basedir)

0 comments on commit 1d82ec9

Please sign in to comment.