=== renamed file 'fetch_image.py' => 'linaro-fetch-image'
@@ -22,13 +22,13 @@
import sys
import os
-import linaro_image_tools.FetchImage as FetchImage
+import linaro_image_tools.fetch_image as fetch_image
import logging
def main():
- file_handler = FetchImage.FileHandler()
- config = FetchImage.FetchImageConfig()
+ file_handler = fetch_image.FileHandler()
+ config = fetch_image.FetchImageConfig()
# Unfortunately we need to do a bit of a hack here and look for some
# options before performing a full options parse.
@@ -59,7 +59,7 @@
# Using the config we have, look up URLs to download data from in the
# server index
- db = FetchImage.DB(file_handler.index_file)
+ db = fetch_image.DB(file_handler.index_file)
image_url, hwpack_url = db.get_image_and_hwpack_urls(config.args)
=== renamed file 'fetch_image_ui.py' => 'linaro-fetch-image-ui'
@@ -26,7 +26,7 @@
import sys
import re
import os
-import linaro_image_tools.FetchImage as FetchImage
+import linaro_image_tools.fetch_image as fetch_image
import string
import operator
import Queue
@@ -1202,7 +1202,7 @@
if(image_url and hwpack_url):
- self.file_handler = FetchImage.FileHandler()
+ self.file_handler = fetch_image.FileHandler()
self.timer = wx.Timer(self)
self.Bind(wx.EVT_TIMER, self.timer_ping, self.timer)
@@ -1469,8 +1469,8 @@
self.wizard.FindWindowById(wx.ID_FORWARD).Enable()
def go(self):
- file_handler = FetchImage.FileHandler()
- self.config = FetchImage.FetchImageConfig()
+ file_handler = fetch_image.FileHandler()
+ self.config = fetch_image.FetchImageConfig()
self.config.settings["force_download"] = False
self.config.settings['compatable_hwpacks'] = ['foo']
@@ -1483,7 +1483,7 @@
# Using the config we have, look up URLs to download data from in
# the server index
- db = FetchImage.DB(file_handler.index_file)
+ db = fetch_image.DB(file_handler.index_file)
# Create the wizard and the pages
self.wizard = wiz.Wizard(self, -1, "Linaro Media Builder")
=== renamed file 'linaro_image_tools/FetchImage.py' => 'linaro_image_tools/fetch_image.py'