Re: [PATCH 2/2] Support moving multiple rows at once in the cleardisks UI.

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

 



> >    def _add_clicked(self, widget, *args, **kwargs):
> >-        (filteredModel, filteredIter) = self.leftTreeView.get_selection().get_selected()
> >+        (filteredModel, pathlist) = self.leftTreeView.get_selection().get_selected_rows()
> 
> Aren't all tuple members supposed to be followed by commas?

Only if it's a one-elment tuple:

   http://docs.python.org/reference/datamodel.html#the-standard-type-hierarchy

and look for "tuple".

- Chris

_______________________________________________
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