Martin Gracik wrote:
The last patch was importing from a wrong directory --- storage/formats/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/formats/__init__.py b/storage/formats/__init__.py index 3cdc908..66e34fb 100644 --- a/storage/formats/__init__.py +++ b/storage/formats/__init__.py @@ -107,7 +107,7 @@ def collect_device_format_classes(): mod_name = module_file[:-3] # imputil is deprecated in python 2.6 try: - globals()[mod_name] = __import__(mod_name) + globals()[mod_name] = __import__(mod_name, globals(), locals(), [], -1) except ImportError, e: log.debug("import of device format module '%s' failed" % mod_name)
Looks good. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list