GNUnet  0.11.x
Public Member Functions | Static Public Attributes
talerbuildconfig.BrowserTool Class Reference
Inheritance diagram for talerbuildconfig.BrowserTool:
[legend]
Collaboration diagram for talerbuildconfig.BrowserTool:
[legend]

Public Member Functions

def args (self, parser)
 
def check (self, buildconfig)
 
- Public Member Functions inherited from talerbuildconfig.Tool
def args (self)
 
def check (self, buildconfig)
 

Static Public Attributes

string name = "browser"
 

Detailed Description

Definition at line 267 of file talerbuildconfig.py.

Member Function Documentation

◆ args()

def talerbuildconfig.BrowserTool.args (   self,
  parser 
)

Definition at line 270 of file talerbuildconfig.py.

270  def args(self, parser):
271  parser.add_argument(
272  "--with-browser", type=str, help="name of your webbrowser executable"
273  )
274 

◆ check()

def talerbuildconfig.BrowserTool.check (   self,
  buildconfig 
)

Definition at line 275 of file talerbuildconfig.py.

References talerbuildconfig.existence().

275  def check(self, buildconfig):
276  browser_dict = {
277  "ice": "icecat",
278  "ff": "firefox",
279  "chg": "chrome",
280  "ch": "chromium",
281  "o": "opera",
282  "t": "true"
283  }
284  if "BROWSER" in os.environ:
285  buildconfig._set_tool("browser", os.environ["BROWSER"])
286  return True
287  for value in browser_dict.values():
288  if existence(value):
289  buildconfig._set_tool("browser", value)
290  return True
291 
292 
Here is the call graph for this function:

Field Documentation

◆ name

string talerbuildconfig.BrowserTool.name = "browser"
static

Definition at line 268 of file talerbuildconfig.py.


The documentation for this class was generated from the following file: