minor changes of commments
authorJF Ding <jian-feng.ding@intel.com>
Thu, 22 Sep 2011 06:09:00 +0000 (14:09 +0800)
committerJF Ding <jian-feng.ding@intel.com>
Thu, 22 Sep 2011 06:09:00 +0000 (14:09 +0800)
mic/utils/fs_related.py
plugins/backend/zypppkgmgr.py

index 80c51b6..e38e443 100644 (file)
@@ -45,7 +45,7 @@ def truncate_url(url, width):
     return os.path.basename(url)[0:width]
 
 class TextProgress(object):
-    # make the manager class as singleton
+    # make the class as singleton
     _instance = None
     def __new__(cls, *args, **kwargs):
         if not cls._instance:
index bc87e26..3eb4b32 100644 (file)
@@ -469,6 +469,7 @@ class Zypp(BackendPlugin):
                 'Could not open local rpm file: %s: %s' % (self.localpath, e)
         arch = zypp.Arch(hdr.arch)
         if self.creator.target_arch == None:
+            # TODO, get the default_arch from conf or detected from global settings
             sysarch = zypp.Arch('i686')
         else:
             sysarch = zypp.Arch(self.creator.target_arch)