# coding=utf-8

"""
Diamond module init code
"""

import os
import sys
import logging
import time
import traceback
import configobj
import socket
import re
import datetime
import random
import urllib2
import base64
import csv
import platform

from urlparse import urlparse

# coding=utf-8

import os
import sys
import string
import logging
import time
import traceback
import configobj
import socket
import re
import os
import sys
import re
import logging
import time
import datetime
import random
import urllib2
import base64
import csv
import platform
import string
import traceback
import configobj
import socket

from urlparse import urlparse

--- 
+++ 
@@ -1,28 +1,22 @@
 # coding=utf-8
+
+"""
+Diamond module init code
+"""
 
 import os
 import sys
-import string
 import logging
 import time
 import traceback
 import configobj
 import socket
 import re
-import os
-import sys
-import re
-import logging
-import time
 import datetime
 import random
 import urllib2
 import base64
 import csv
 import platform
-import string
-import traceback
-import configobj
-import socket
 
 from urlparse import urlparse
Remove duplicate imports and remove entirly unused string
