/[gli]/branches/overhaul/src/fe/gtk/gtkfe.py
Gentoo

Diff of /branches/overhaul/src/fe/gtk/gtkfe.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1632 Revision 1633
45 { 'text': _('Review'), 'module': __import__("InstallSummary") } 45 { 'text': _('Review'), 'module': __import__("InstallSummary") }
46 ] 46 ]
47 47
48 def __init__(self): 48 def __init__(self):
49 self.install_profile = GLIInstallProfile.InstallProfile() 49 self.install_profile = GLIInstallProfile.InstallProfile()
50 self._pretend = False
51 self._debug = False
52
53 for arg in sys.argv:
54 if arg == "-p" or arg == "--pretend":
55 self._pretend = True
56 elif arg == "-d" or arg == "--debug":
57 self._debug = True
58
59 self.cc = GLIClientController.GLIClientController(pretend=self._pretend) 50 self.cc = GLIClientController.GLIClientController(self.install_profile)
60 51
61 self.window = None 52 self.window = None
62 self.panel = None 53 self.panel = None
63 self._cur_panel = 0 54 self._cur_panel = 0
64 self.__full_path = self.get_current_path() 55 self.__full_path = self.get_current_path()

Legend:
Removed from v.1632  
changed lines
  Added in v.1633

  ViewVC Help
Powered by ViewVC 1.1.20