Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
improve coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Feb 25, 2015
1 parent 5bee199 commit 9c32b50
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions buildtimetrend/keenio.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,10 @@ def has_build_id(repo=None, build_id=None):
try:
count = keen.count(
"build_jobs",
filters=[get_repo_filter(repo),
{
"property_name": "job.build",
"operator": "eq",
"property_value": str(build_id)
}]
filters=[get_repo_filter(repo), {
"property_name": "job.build",
"operator": "eq",
"property_value": str(build_id)}]
)
return count > 0
except requests.ConnectionError:
Expand Down

0 comments on commit 9c32b50

Please sign in to comment.