[PATCH 1/6] Don't exceed 80 chars.

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

 



* gui.py (__init__): Split the arguments for __init__ into three lines.
Also split the line that creates the pygtk dialog into two.
---
 gui.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gui.py b/gui.py
index 0a4ca3b..682f1c8 100755
--- a/gui.py
+++ b/gui.py
@@ -858,7 +858,10 @@ class MessageWindow:
             pass
 
 class DetailedMessageWindow(MessageWindow):
-    def __init__(self, title, text, longText=None, type="ok", default=None, custom_buttons=None, custom_icon=None, run=True, parent=None, destroyAfterRun=True):
+    def __init__(self, title, text, longText=None, type="ok", default=None,
+                 custom_buttons=None, custom_icon=None, run=True, parent=None,
+                 destroyAfterRun=True):
+
         self.title = title
 
         if flags.autostep:
@@ -882,7 +885,8 @@ class DetailedMessageWindow(MessageWindow):
             self.doCustom = True
             buttons = custom_buttons
 
-        xml = gtk.glade.XML(findGladeFile("detailed-dialog.glade"), domain="anaconda")
+        xml = gtk.glade.XML(findGladeFile("detailed-dialog.glade"),
+                domain="anaconda")
         self.dialog = xml.get_widget("detailedDialog")
         self.mainVBox = xml.get_widget("mainVBox")
         self.hbox = xml.get_widget("hbox1")
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux