jhbuild r2684 - in trunk: . jhbuild/modtypes



Author: apwingo
Date: Mon Feb  2 11:43:21 2009
New Revision: 2684
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2684&view=rev

Log:
2009-02-02  Andy Wingo  <wingo pobox com>

	* jhbuild/modtypes/__init__.py (Package.to_sxml): Whoops, fix some
	indentation that broke attribute serialization for non-bool
	values.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/modtypes/__init__.py

Modified: trunk/jhbuild/modtypes/__init__.py
==============================================================================
--- trunk/jhbuild/modtypes/__init__.py	(original)
+++ trunk/jhbuild/modtypes/__init__.py	Mon Feb  2 11:43:21 2009
@@ -260,7 +260,7 @@
             if val != default:
                 if type(val) == bool:
                     val = val and 'true' or 'no'
-                    xmlattrs[xmlattr] = val
+                xmlattrs[xmlattr] = val
         return [getattr(sxml, tag)(**xmlattrs), self.deps_to_sxml(),
                 self.branch_to_sxml()]
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]