Skip to content

Commit

Permalink
Imports refactored.
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimon committed Jul 8, 2016
1 parent c561716 commit 29481d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
23 changes: 1 addition & 22 deletions projects/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import urwid

from projects import doc_generator
from projects.gui import doc_generator
from projects.gui.project_selector import ProjectSelector


Expand Down Expand Up @@ -60,24 +60,3 @@ def show_project_details(data, width):
doc = doc_generator.generate_doc(data, width)
pydoc.pager(doc)


if __name__ == '__main__':
print('starting gui')
l = [
'imre',
'bela',
'gizike',
'adorjan',
'hello',
'laskdjflkasj',
'dkjfgiuenkjnc',
'asdfarg',
'asoiulsihf',
'asdfhekrjher',
'tseoijteo',
'oeitjgoj',
'oierjogijef',
'oeisrofisf',
'oeiroijiuhsdkj'
]
select_project(l)
2 changes: 1 addition & 1 deletion projects/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from termcolor import colored

from projects import config
from projects import gui
from projects.gui import gui
from projects import paths
from projects import projectfile
from projects.gui import doc_generator
Expand Down

0 comments on commit 29481d0

Please sign in to comment.