On 08/03/2011 02:31 PM, Martin Gracik wrote:
+ import urlgrabber + + if not network.hasActiveNetDev(): + if self.messageWindow(_("Warning"), + _("You do not have an active network connection. This is " + "required by some exception saving methods. Would you " + "like to configure your network now?"), + type = "yesno"): + + if not self.enableNetwork(): + self.messageWindow(_("No Network Available"), + _("Remote exception saving methods will not work.")) + else: + urlgrabber.grabber.reset_curl_obj() +
This is pretty much repeated twice in the patch, it would deserve a separate function. If it's a cherry-pick then I suggest writing a refactoring patch on top of it and then merging that back to master.
Ales _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list