[csw-devel] SF.net SVN: gar:[19207] csw/mgar/gar/v2/lib/python/checkpkg_lib.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Sep 14 17:37:49 CEST 2012


Revision: 19207
          http://gar.svn.sourceforge.net/gar/?rev=19207&view=rev
Author:   wahwah
Date:     2012-09-14 15:37:49 +0000 (Fri, 14 Sep 2012)
Log Message:
-----------
checkpkg_lib: Replace tabs with spaces

We should have a linter to do that. Or maybe we already have one?

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/checkpkg_lib.py

Modified: csw/mgar/gar/v2/lib/python/checkpkg_lib.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2012-09-14 13:40:35 UTC (rev 19206)
+++ csw/mgar/gar/v2/lib/python/checkpkg_lib.py	2012-09-14 15:37:49 UTC (rev 19207)
@@ -247,8 +247,8 @@
           continue
         tag_info=e.tag_info
         if tag_info is not None:
-	    if not isinstance(tag_info, unicode):
-	        tag_info=unicode(tag_info, "utf-8")
+          if not isinstance(tag_info, unicode):
+            tag_info=unicode(tag_info, "utf-8")
         error_tag_in_db = m.CheckpkgErrorTag(
             srv4_file=db_stat_objs_by_pkgname[e.pkgname],
             pkgname=e.pkgname,

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list