diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-01 06:27:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-01 06:29:57 +0300 |
commit | 1b1aaf3e250e61768c8f7e8695392bbd3d86933e (patch) | |
tree | 7654b93de543393a79638e5d980410879ce21078 /netrender/balancing.py | |
parent | 59ea4fc9f11f47922aaec7f48ea0f2633ad4dc80 (diff) |
Cleanup: tabs to spaces
Diffstat (limited to 'netrender/balancing.py')
-rw-r--r-- | netrender/balancing.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/netrender/balancing.py b/netrender/balancing.py index ee347452..b6531604 100644 --- a/netrender/balancing.py +++ b/netrender/balancing.py @@ -125,7 +125,8 @@ class RatingUsage(RatingRule): "descritpiton":str(self), "limit":"", "id":self.id() - } + } + class RatingUsageByCategory(RatingRule): def __init__(self, get_jobs): @@ -149,7 +150,7 @@ class RatingUsageByCategory(RatingRule): "descritpiton":str(self), "limit":"", "id":self.id() - } + } class NewJobPriority(PriorityRule): @@ -176,7 +177,7 @@ class NewJobPriority(PriorityRule): "limit": self.limit, "limit_str":self.str_limit(), "id":self.id() - } + } class MinimumTimeBetweenDispatchPriority(PriorityRule): def __init__(self, limit = 10): @@ -203,8 +204,7 @@ class MinimumTimeBetweenDispatchPriority(PriorityRule): "limit": self.limit, "limit_str":self.str_limit(), "id":self.id() - - } + } class ExcludeQueuedEmptyJob(ExclusionRule): def __init__(self): @@ -224,7 +224,8 @@ class ExcludeQueuedEmptyJob(ExclusionRule): "limit": "", "limit_str":"", "id":self.id() - } + } + class ExcludeSlavesLimit(ExclusionRule): def __init__(self, count_jobs, count_slaves, limit = 0.75): @@ -253,4 +254,4 @@ class ExcludeSlavesLimit(ExclusionRule): "limit": self.limit, "limit_str":self.str_limit(), "id":self.id() - } + } |