summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-08-18 17:28:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-19 18:05:51 +0100
commit98dfa27050e03fa6884b988f535168bbb6a80470 (patch)
treedf3e0768dc17ab86c2d11489ade0b81ca73aaba5 /bitbake/lib/toaster/orm
parentc8df84777bc5283f54f71e5e76fafb5e766a1009 (diff)
downloadpoky-98dfa27050e03fa6884b988f535168bbb6a80470.tar.gz
bitbake: toaster: pylint fixes
This patch fixes imports, default parameters to functions, incorrect overloading and exception handling issues highlighted by pylint. There are no functional changes. (Bitbake rev: 066e096b80dcb0e93e1a088acf5d914184361769) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm')
-rw-r--r--bitbake/lib/toaster/orm/models.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 4f07e37c52..b3f8db9750 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -807,7 +807,6 @@ class LayerIndexLayerSource(LayerSource):
807 Fetches layer, recipe and machine information from remote repository 807 Fetches layer, recipe and machine information from remote repository
808 """ 808 """
809 assert self.apiurl is not None 809 assert self.apiurl is not None
810 from django.db import IntegrityError
811 from django.db import transaction, connection 810 from django.db import transaction, connection
812 811
813 import httplib, urlparse, json 812 import httplib, urlparse, json