old_contents: # 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
  
new_contents: # 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
  
subject: Remove duplicate imports and remove entirly unused string