[gobject-introspection] docbookdescription.py: Fix for PEP-8 compliance



commit e10c3e3f1a9e8fd5bb966f1782aa9afa53c6728e
Author: Colin Walters <walters verbum org>
Date:   Mon Aug 22 14:55:41 2011 -0400

    docbookdescription.py: Fix for PEP-8 compliance

 giscanner/docbookdescription.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/docbookdescription.py b/giscanner/docbookdescription.py
index 70672ac..9ec7219 100644
--- a/giscanner/docbookdescription.py
+++ b/giscanner/docbookdescription.py
@@ -1,7 +1,7 @@
 
 TAG_PROGRAM_LISTING = '<programlisting'
 TAG_CDATA = '<![CDATA['
-TAGS =  {TAG_PROGRAM_LISTING, TAG_CDATA, ']]>', '</programlisting>'}
+TAGS = {TAG_PROGRAM_LISTING, TAG_CDATA, ']]>', '</programlisting>'}
 
 def get_formatted_description(description):
     desc = description.replace("|[", "<informalexample><programlisting>") \
@@ -177,9 +177,9 @@ def test():
     assert _is_valid_xml_tag('a href="http://www.gtk.org"; title="&lt;i&gt;Our&lt;/i&gt; website"')
     assert _is_valid_xml_tag('ulink \nurl="http://www.freedesktop.org/Standards/wm-spec";')
 
-    string = 'gtk_label_set_markup (label, "Go to the <a href="http://www.gtk.org"; title="&lt;i&gt;Our&lt;/i&gt; website">GTK+ website</a> for more...");'
+    string = 'gtk_label_set_markup (label, "Go to the <a href="http://www.gtk.org"; ' \
+        + 'title="&lt;i&gt;Our&lt;/i&gt; website">GTK+ website</a> for more...");'
     assert _escape_lt_not_in_xml_tag(string) == string
 
 if __name__ == '__main__':
     test()
-



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