summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodule/network/Request.py5
-rw-r--r--module/plugins/FilefactoryCom.py1
-rw-r--r--module/web/ServerThread.py3
-rw-r--r--module/web/ajax/models.py1
-rw-r--r--module/web/ajax/urls.py1
-rw-r--r--module/web/ajax/views.py1
-rw-r--r--module/web/pyload/views.py1
-rw-r--r--module/web/settings.py4
-rw-r--r--module/web/urls.py1
-rwxr-xr-xpyLoadCore.py3
10 files changed, 2 insertions, 19 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index c6127c20b..7cdae7c0f 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -5,16 +5,13 @@
"""
authored by: RaNaN, Spoob
"""
-import os
import base64
import cookielib
from gzip import GzipFile
import time
-import re
from os import sep, rename
-from os.path import dirname, exists
+from os.path import exists
import urllib
-from base64 import b64decode
from cStringIO import StringIO
try:
diff --git a/module/plugins/FilefactoryCom.py b/module/plugins/FilefactoryCom.py
index ff069b20f..5b7db301d 100644
--- a/module/plugins/FilefactoryCom.py
+++ b/module/plugins/FilefactoryCom.py
@@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
import re
-import urllib
from module.Plugin import Plugin
from time import time
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py
index 790ac152b..6113ac297 100644
--- a/module/web/ServerThread.py
+++ b/module/web/ServerThread.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
import threading
-import os
from os.path import join
import subprocess
@@ -19,4 +18,4 @@ class WebServer(threading.Thread):
except Exception, e:
print e
#os.system("python " + join(self.pycore.path,"module","web","manage.py runserver %s:%s" % (host,port)))
- #@TODO: better would be real python code \ No newline at end of file
+ #@TODO: better would be real python code
diff --git a/module/web/ajax/models.py b/module/web/ajax/models.py
index 71a836239..35e0d6486 100644
--- a/module/web/ajax/models.py
+++ b/module/web/ajax/models.py
@@ -1,3 +1,2 @@
-from django.db import models
# Create your models here.
diff --git a/module/web/ajax/urls.py b/module/web/ajax/urls.py
index 9849004d1..2a7e109c3 100644
--- a/module/web/ajax/urls.py
+++ b/module/web/ajax/urls.py
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
-from django.conf import settings
urlpatterns = patterns('ajax',
diff --git a/module/web/ajax/views.py b/module/web/ajax/views.py
index 584ad1a0e..b09a80581 100644
--- a/module/web/ajax/views.py
+++ b/module/web/ajax/views.py
@@ -3,7 +3,6 @@ from django.http import HttpResponse
from django.http import HttpResponseForbidden
from django.http import HttpResponseServerError
from django.conf import settings
-from django.shortcuts import render_to_response
from django.utils import simplejson
from django.core.serializers import json
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py
index 0cdc87873..904e312e7 100644
--- a/module/web/pyload/views.py
+++ b/module/web/pyload/views.py
@@ -1,7 +1,6 @@
# Create your views here.
import mimetypes
from django.http import HttpResponse
-from django.http import HttpResponseRedirect
from django.http import HttpResponseNotFound
from django.conf import settings
from django.shortcuts import render_to_response
diff --git a/module/web/settings.py b/module/web/settings.py
index 2c7f4ecd8..894583aa4 100644
--- a/module/web/settings.py
+++ b/module/web/settings.py
@@ -6,10 +6,6 @@ TEMPLATE_DEBUG = DEBUG
import os.path
import sys
-from os import chdir
-from os.path import dirname
-from os.path import abspath
-from os import sep
import xmlrpclib
SERVER_VERSION = "0.3"
diff --git a/module/web/urls.py b/module/web/urls.py
index 2145a8dd4..1392b827a 100644
--- a/module/web/urls.py
+++ b/module/web/urls.py
@@ -3,7 +3,6 @@ from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
-from os.path import join
admin.autodiscover()
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 5550c9b9b..7b7e2754d 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -28,12 +28,9 @@ from glob import glob
from imp import find_module
import logging
import logging.handlers
-from os import chdir
from os import listdir
-from os import mkdir
from os import makedirs
from os import sep
-from os.path import abspath
from os.path import basename
from os.path import dirname
from os.path import exists