Skip to content

Commit

Permalink
Merge pull request ninja-ide#1200 from diegosarmentero/master
Browse files Browse the repository at this point in the history
removing unnecesary code
  • Loading branch information
diegosarmentero committed Apr 23, 2013
2 parents 998a5cd + d9e3656 commit 24a1421
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ninja_ide/gui/explorer/tree_projects_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,14 +819,6 @@ def __init__(self, parent, _name, path):
self.update_paths()
self.addedToConsole = False

def __lt__(self, otherItem):
column = self.treeWidget().sortColumn()
my_text = ('1%s' % self.text(column).lower() if
self.isFolder else '0%s' % self.text(column).lower())
other_text = ('1%s' % otherItem.text(column).lower() if
otherItem.isFolder else '0%s' % otherItem.text(column).lower())
return my_text < other_text

def update_paths(self):
for path in self.related_projects:
completion_daemon.add_project_folder(path)
Expand Down

0 comments on commit 24a1421

Please sign in to comment.