diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
commit | 488e1da935d55330be55eb30b4605b993dd65dbd (patch) | |
tree | d4437d5e74e962482a4a6aa5336212c257f0245e /netrender/client.py | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
Diffstat (limited to 'netrender/client.py')
-rw-r--r-- | netrender/client.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netrender/client.py b/netrender/client.py index 651b4660..26504884 100644 --- a/netrender/client.py +++ b/netrender/client.py @@ -17,9 +17,9 @@ # ##### END GPL LICENSE BLOCK ##### import bpy -import sys, os, re -import http, http.client, http.server, urllib -import subprocess, shutil, time, hashlib +import os, re +import http, http.client, http.server +import time import json import netrender @@ -96,8 +96,8 @@ def fillCommonJobSettings(job, job_name, netsettings): job.name = job_name job.category = netsettings.job_category - for slave in netrender.blacklist: - job.blacklist.append(slave.id) + for bad_slave in netrender.blacklist: + job.blacklist.append(bad_slave.id) job.chunks = netsettings.chunks job.priority = netsettings.priority |