commit f7b4d6248188e87d12020d6bb5e717a7463bfbe8
Author: Yi Yang <[email protected]>
Date:   Mon Nov 8 10:03:03 2010 +0800

    Correct LICENSE.txt file check error in local repo
    
    Note: fix bug #9730

diff --git a/mic/imgcreate/yuminst.py b/mic/imgcreate/yuminst.py
index c9f6887..fea0917 100644
--- a/mic/imgcreate/yuminst.py
+++ b/mic/imgcreate/yuminst.py
@@ -146,6 +146,11 @@ class LiveCDYum(yum.YumBase):
                 return None
             else:
                 raise CreatorError(httperror)
+        except OSError, oserr:
+            if oserr.errno == 2:
+                return None
+            else:
+                raise CreatorError(oserr)
         except IOError, err:
             raise CreatorError(err)
         except u2.URLError, err:
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to