コード例 #1
0
ファイル: mac_update.py プロジェクト: hannesrauhe/lunchinator
 def setUI(self, ui):
     GPGUpdateHandler.setUI(self, ui)
     self._updateCheckButtonText()
コード例 #2
0
ファイル: mac_update.py プロジェクト: hannesrauhe/lunchinator
 def activate(self):
     GPGUpdateHandler.activate(self)
     
     # check if /usr/local/bin is in PATH
     if "/usr/local/bin" not in os.environ["PATH"]:
         os.environ["PATH"] += ":/usr/local/bin"