Merge "Remove duplicate import of hashlib"
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Fri, 8 Apr 2016 09:59:41 +0000 (09:59 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 8 Apr 2016 09:59:41 +0000 (09:59 +0000)
1  2 
deploy/deploy-config.py

@@@ -86,11 -86,10 +86,10 @@@ def warning(msg)
                                                 'NC': NC})
  
  def setup_yaml():
 -  represent_dict_order = lambda self, data:  self.represent_mapping('tag:yaml.org,2002:map', data.items())
 -  yaml.add_representer(collections.OrderedDict, represent_dict_order)
 +    represent_dict_order = lambda self, data:  self.represent_mapping('tag:yaml.org,2002:map', data.items())
 +    yaml.add_representer(collections.OrderedDict, represent_dict_order)
  
  def sha_uri(uri):
-     import hashlib
      response = urllib2.urlopen(uri)
      data = response.read()
      sha1 = hashlib.sha1()