Skip to content

Commit

Permalink
style fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Tardy committed Nov 7, 2013
1 parent 1a973f9 commit 9cb8a1b
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
7 changes: 4 additions & 3 deletions common/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ done < ${tempfile}
echo "${MAGENTA}Validating the following commits:${NORM}"
git log "$REVRANGE" --pretty=oneline || exit 1

status "running 'setup.py develop' for www"
(cd www; python setup.py develop 2>&1 >/dev/null) || not_ok "www/setup.py failed"

if $slow; then
status "running 'setup.py develop' for www"
(cd www; python setup.py develop 2>&1 >/dev/null) || not_ok "www/setup.py failed"
fi
if $slow; then
status "running tests"
run_tests || not_ok "tests failed"
Expand Down
4 changes: 2 additions & 2 deletions master/buildbot/data/buildsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import copy

from buildbot.data import base
from buildbot.data import sourcestamps
from buildbot.data import sourcestamps as sourcestampsapi
from buildbot.data import types
from buildbot.status.results import FAILURE
from buildbot.status.results import SUCCESS
Expand Down Expand Up @@ -118,7 +118,7 @@ class EntityType(types.Entity):
complete_at = types.NoneOk(types.Integer())
results = types.NoneOk(types.Integer())
sourcestamps = types.List(
of=sourcestamps.SourceStamp.entityType)
of=sourcestampsapi.SourceStamp.entityType)
link = types.Link()
entityType = EntityType(name)

Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/status/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from __future__ import with_statement

import os
import shutil
import re
import shutil

from buildbot import interfaces
from buildbot import util
Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/status/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
from __future__ import with_statement


import itertools
import os
import re
import itertools

from buildbot import interfaces
from buildbot import util
Expand Down
6 changes: 3 additions & 3 deletions master/buildbot/status/tinderbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
from buildbot.status.results import WARNINGS
from buildbot.steps.shell import WithProperties

import gzip
import bz2
import base64
import re
import bz2
import cStringIO
import gzip
import re

# TODO: docs, maybe a test of some sort just to make sure it actually imports
# and can format email without raising an exception.
Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/status/words.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#
# Copyright Buildbot Team Members

import random
import re
import shlex
import random

from string import capitalize
from string import join
Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

import calendar
import datetime
import time
import re
import string
import time
import types

from twisted.python import reflect
Expand Down
4 changes: 2 additions & 2 deletions slave/contrib/windows/buildbot_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ def RegisterWithFirewall(exe_name, description):
#/library/en-us/ics/ics/wf_adding_an_application.asp
from win32com.client import Dispatch
# Set constants
NET_FW_PROFILE_DOMAIN = 0
NET_FW_PROFILE_STANDARD = 1
#NET_FW_PROFILE_DOMAIN = 0
#NET_FW_PROFILE_STANDARD = 1

# Scope
NET_FW_SCOPE_ALL = 0
Expand Down

0 comments on commit 9cb8a1b

Please sign in to comment.